]> git.saurik.com Git - wxWidgets.git/commitdiff
look in /usr/lib64 before standard locations, this should fix build on Linux AMD64
authorVadim Zeitlin <vadim@wxwidgets.org>
Mon, 7 Mar 2005 21:35:06 +0000 (21:35 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Mon, 7 Mar 2005 21:35:06 +0000 (21:35 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32644 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

configure.in

index 9e5583fad2dc46bc0b0e2dd9347b09dfaf5b2e6a..8dac74e8493970a3ba135a9fabf498101e7e230b 100644 (file)
@@ -2038,8 +2038,9 @@ dnl be found before the ones in lib64 for 32bit compilation -- of course, this
 dnl probably/surely breaks 64bit compilation... IMO the only real solution is to
 dnl stop using WX_PATH_FIND_LIBRARIES() at all and use AC_CHECK_LIB() instead
 dnl
-dnl add 64 bit versions for Linux on AMD (this is not perfect but well...)
-SEARCH_LIB="/usr/lib /usr/lib32 `echo "$SEARCH_INCLUDE" | sed s/include/lib/g` /usr/lib64 /usr/X11R6/lib64"
+dnl also put 64 bit versions for Linux on AMD, they must come before the usual
+dnl locations or 64 bit compilation failed
+SEARCH_LIB="/usr/lib /usr/lib32 /usr/lib64 /usr/X11R6/lib64 `echo "$SEARCH_INCLUDE" | sed s/include/lib/g`"
 
 dnl ------------------------------------------------------------------------
 dnl Check for libraries