VirtualBox

Changeset 2571 in vbox


Ignore:
Timestamp:
May 9, 2007 8:23:34 PM (18 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
21040
Message:

on 64bit systems, 64bit libs are located in *lib64, not *lib, see http://www.pathname.com/fhs/pub/fhs-2.3.html#LIB64

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/configure

    r2568 r2571  
    195195    i[3456789]86|x86)
    196196      MACHINE='x86'
     197      LIB='lib'
    197198      ;;
    198199    x86_64|amd64)
    199200      MACHINE='amd64'
    200201      CPU='k8'
    201 
     202      # on AMD64 systems, 64bit libs are usually located in /usr/lib64
     203      # see http://www.pathname.com/fhs/pub/fhs-2.3.html#LIB64
     204      LIB='lib64'
    202205      echo ""
    203206      echo ""
     
    501504      log_success "found version $libidl_ver"
    502505      cnf_append "VBOX_LIBIDL_CONFIG" \
    503         "PKG_CONFIG_PATH=`libIDL-config-2 --prefix`/lib/pkgconfig `which_wrapper libIDL-config-2`"
     506        "PKG_CONFIG_PATH=`libIDL-config-2 --prefix`/$LIB/pkgconfig `which_wrapper libIDL-config-2`"
    504507    fi
    505508  elif check_avail "libIDL-config" libIDL-config; then
     
    863866    cat .tmp_src.cc >> $LOG
    864867    echo "using the following command line:" >> $LOG
    865     if [ "$MACHINE" = "amd64" ]; then
    866       echo "$CXX -O -Wall -o .tmp_out .tmp_src.cc -I$q/include -L$q/lib64 -L$q/lib -lqt-mt" >> $LOG
     868    echo "$CXX -O -Wall -o .tmp_out .tmp_src.cc -I$q/include -L$q/$LIB -lqt-mt" >> $LOG
    867869   
    868       $CXX -O -Wall -o .tmp_out .tmp_src.cc -I$q/include -L$q/lib64 -L$q/lib -lqt-mt >> $LOG 2>&1
    869     else
    870       echo "$CXX -O -Wall -o .tmp_out .tmp_src.cc -I$q/include -L$q/lib -lqt-mt" >> $LOG
    871    
    872       $CXX -O -Wall -o .tmp_out .tmp_src.cc -I$q/include -L$q/lib -lqt-mt >> $LOG 2>&1
    873     fi
     870    $CXX -O -Wall -o .tmp_out .tmp_src.cc -I$q/include -L$q/$LIB -lqt-mt >> $LOG 2>&1
    874871    if (($?==0)); then
    875872      if test_execute; then
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette