From 6172e455b792a0179865fbb7d723b283f5d0aad9 Mon Sep 17 00:00:00 2001 From: Alexandre Oliva Date: Mon, 10 Jul 2000 06:42:34 +0000 Subject: [PATCH] * ltconfig.in (dynamic_linker, linux, powerpc): Do not disable shared libraries just because of MkLinux. --- ChangeLog | 3 +++ ltconfig.in | 16 +++++++--------- 2 files changed, 10 insertions(+), 9 deletions(-) diff --git a/ChangeLog b/ChangeLog index 2b550a9c2..fb2b99aa9 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2000-07-10 Alexandre Oliva + * 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. diff --git a/ltconfig.in b/ltconfig.in index 1acd7dcde..c6e35144a 100755 --- a/ltconfig.in +++ b/ltconfig.in @@ -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*) -- 2.47.3