From f12a2bcfe9795fef47ccf995bca3fdd985baba30 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Mon, 7 Mar 2005 21:35:06 +0000 Subject: [PATCH] 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 --- configure.in | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/configure.in b/configure.in index 9e5583fad2..8dac74e849 100644 --- a/configure.in +++ b/configure.in @@ -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 -- 2.47.2