]> 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:28:28 +0000 (06:28 +0000)
committerAlexandre Oliva <aoliva@redhat.com>
Mon, 10 Jul 2000 06:28:28 +0000 (06:28 +0000)
shared libraries just because of MkLinux.

ChangeLog
ltconfig.in

index 7c3829a7971a52730b8ce55218fa6b12791b0f47..5c8408b1909bcb213d4ce759270b5288f29731f7 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +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.
+
 2000-07-10  Albert Chin-A-Young  <china@thewrittenword.com>
 
        * ltcf-cxx.sh (archive_cmds, irix): Added -Wl to -update_registry
index c05908612f2d8f72f7dad68df051fe39ba3f5bb6..a4126e407404e9d31a315b34d26a167decdce274 100755 (executable)
@@ -1098,15 +1098,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*)