This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.
See the CrossGCC FAQ for lots more information.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
# HG changeset patch # User Anthony Foiani <anthony.foiani@gmail.com> # Date 1285770476 21600 # Node ID 5676bb6d9d7a61a062d0b8bf86c9ddccfcae4f7c # Parent ff2181adbd28c91a21fa5f230bf92aaa7824dc73 Look for libraries in "lib64" as well as in "lib". On Fedora x86_64 systems, many libraries are in "lib64" directories, not plain old "lib". Signed-off-by: Anthony Foiani <anthony.foiani@gmail.com> diff -r ff2181adbd28 -r 5676bb6d9d7a kconfig/lxdialog/check-lxdialog.sh --- a/kconfig/lxdialog/check-lxdialog.sh Sun Sep 12 23:51:25 2010 +0200 +++ b/kconfig/lxdialog/check-lxdialog.sh Wed Sep 29 08:27:56 2010 -0600 @@ -17,10 +17,12 @@ { for ext in so a dylib ; do for lib in ncursesw ncurses curses ; do - if [ -f "${LIBPATH}/lib${lib}.${ext}" ]; then - echo "-L${LIBPATH} -l${lib}" - exit - fi + for dir in "${LIBPATH}" "${LIBPATH}64" ; do + if [ -f "${dir}/lib${lib}.${ext}" ]; then + echo "-L${dir} -l${lib}" + exit + fi + done done done exit 1 -- For unsubscribe information see http://sourceware.org/lists.html#faq
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |