From: Alexandre Oliva Date: Fri, 25 Jun 1999 23:10:24 +0000 (+0000) Subject: * ltconfig.in (linux-gnu*, deplibs_check_method): Use pass_all on X-Git-Tag: release-1-3b~7 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c03b2010a7d1bead8ab8321a530628985312ca2e;p=thirdparty%2Flibtool.git * ltconfig.in (linux-gnu*, deplibs_check_method): Use pass_all on alpha, x86 and sparc architectures by now, reverting to file_magic at least on ARM, where it breaks. --- diff --git a/ChangeLog b/ChangeLog index a9bf5cbf1..db1299337 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +1999-06-25 Alexandre Oliva + + * ltconfig.in (linux-gnu*, deplibs_check_method): Use pass_all on + alpha, x86 and sparc architectures by now, reverting to file_magic + at least on ARM, where it breaks. + 1999-06-23 Thomas Tanner * NEWS: updated diff --git a/ltconfig.in b/ltconfig.in index 1c8d027a6..56aa429f1 100755 --- a/ltconfig.in +++ b/ltconfig.in @@ -1843,7 +1843,16 @@ linux-gnu*) finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=no - deplibs_check_method=pass_all + + case "$host_cpu" in + alpha* | i*86 | sparc* ) + deplibs_check_method=pass_all ;; + *) + # glibc up to 2.1.1 does not perform some relocations on ARM + deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;; + esac + file_magic_cmd=/usr/bin/file + file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so` if test -f /lib/ld.so.1; then dynamic_linker='GNU ld.so'