]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
* ltconfig.in (dynamic_linker, linux, powerpc): Do not disable
authorAlexandre Oliva <aoliva@lsd.ic.unicamp.br>
Mon, 10 Jul 2000 06:42:34 +0000 (06:42 +0000)
committerAlexandre Oliva <aoliva@redhat.com>
Mon, 10 Jul 2000 06:42:34 +0000 (06:42 +0000)
shared libraries just because of MkLinux.

ChangeLog
ltconfig.in

index 2b550a9c256b0cdc3e51c17cc95908741044d925..fb2b99aa9c7418e4be1e833583e2189805773d11 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2000-07-10  Alexandre Oliva  <aoliva@lsd.ic.unicamp.br>
 
+       * ltconfig.in (dynamic_linker, linux, powerpc): Do not disable
+       shared libraries just because of MkLinux.
+
        * libtool.m4 (lt_cv_deplibs_check_method, freebsd): Do not depend
        on $version_type; check for ELF support as in other BSDs.
 
index 1acd7dcde11acafb2c4d1e7083772af8c1bfe50f..c6e35144ad9e4f7cad1ac1ee445c4cb84a38729c 100755 (executable)
@@ -1671,15 +1671,13 @@ linux-gnu*)
   # before this can be enabled.
   hardcode_into_libs=yes
 
-  if test -f /lib/ld.so.1; then
-    dynamic_linker='GNU ld.so'
-  else
-    # Only the GNU ld.so supports shared libraries on MkLinux.
-    case "$host_cpu" in
-    powerpc*) dynamic_linker=no ;;
-    *) dynamic_linker='Linux ld.so' ;;
-    esac
-  fi
+  # We used to test for /lib/ld.so.1 and disable shared libraries on
+  # powerpc, because MkLinux only supported shared libraries with the
+  # GNU dynamic linker.  Since this was broken with cross compilers,
+  # most powerpc-linux boxes support dynamic linking these days and
+  # people can always --disable-shared, the test was removed, and we
+  # assume the GNU/Linux dynamic linker is in use.
+  dynamic_linker='GNU/Linux ld.so'
   ;;
 
 netbsd*)