]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
* ltconfig.in (linux-gnu*, deplibs_check_method): Use pass_all on
authorAlexandre Oliva <oliva@dcc.unicamp.br>
Fri, 25 Jun 1999 23:10:24 +0000 (23:10 +0000)
committerAlexandre Oliva <aoliva@redhat.com>
Fri, 25 Jun 1999 23:10:24 +0000 (23:10 +0000)
alpha, x86 and sparc architectures by now, reverting to file_magic
at least on ARM, where it breaks.

ChangeLog
ltconfig.in

index a9bf5cbf1114974a1b5199f02deb9ff84e43f62e..db129933781d10a0a1f5405f4da856f25c9a2e34 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+1999-06-25  Alexandre Oliva  <oliva@dcc.unicamp.br>
+
+       * 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  <tanner@ffii.org>
 
        * NEWS: updated
index 1c8d027a6dbe91c4a92d75ecaa8e525376b64fd1..56aa429f1ea7f069aa466b0754aff12d184dc405 100755 (executable)
@@ -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'