From: Alexandre Oliva Date: Mon, 10 Jul 2000 06:33:25 +0000 (+0000) Subject: * ltconfig.in (dynamic_linker, linux, powerpc): Do not disable X-Git-Url: http://git.ipfire.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=d46c2b182a785e7782b60887bd86a62a2536cc19;p=thirdparty%2Flibtool.git * ltconfig.in (dynamic_linker, linux, powerpc): Do not disable shared libraries just because of MkLinux. --- diff --git a/ChangeLog b/ChangeLog index 513d76317..be5b7efbe 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2000-07-10 Alexandre Oliva + + * ltconfig.in (dynamic_linker, linux, powerpc): Do not disable + shared libraries just because of MkLinux. + 2000-06-17 Syd Polk * libtool.m4 (AC_LIBTOOL_SETUP): Do not generate a libtool based diff --git a/ltconfig.in b/ltconfig.in index a63b1ac01..fb554dfbb 100755 --- a/ltconfig.in +++ b/ltconfig.in @@ -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*)