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

ChangeLog
ltconfig.in

index 513d76317917e562801093dc56c397a79c5d3513..be5b7efbe6e5da2d3de5d8a9bd0f76da9c07e9ce 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-06-17  Syd Polk  <spolk@redhat.com>
 
        * libtool.m4 (AC_LIBTOOL_SETUP): Do not generate a libtool based
index a63b1ac0139345d495788d981c82524484c984db..fb554dfbb78dd81e7caf1cfe4e0af5af9218b54c 100755 (executable)
@@ -1994,15 +1994,13 @@ linux-gnu*)
   shlibpath_overrides_runpath=no
   deplibs_check_method=pass_all
 
-  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*)