look in /usr/lib64 before standard locations, this should fix build on Linux AMD64

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32644 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2005-03-07 21:35:06 +00:00
parent 0f36a8d7bc
commit f12a2bcfe9

View 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 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 stop using WX_PATH_FIND_LIBRARIES() at all and use AC_CHECK_LIB() instead
dnl dnl
dnl add 64 bit versions for Linux on AMD (this is not perfect but well...) dnl also put 64 bit versions for Linux on AMD, they must come before the usual
SEARCH_LIB="/usr/lib /usr/lib32 `echo "$SEARCH_INCLUDE" | sed s/include/lib/g` /usr/lib64 /usr/X11R6/lib64" 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 ------------------------------------------------------------------------
dnl Check for libraries dnl Check for libraries