From: Alexandre Oliva Date: Mon, 10 Jul 2000 06:28:28 +0000 (+0000) Subject: * ltconfig.in (dynamic_linker, linux, powerpc): Do not disable X-Git-Tag: multi-language-merge-point~194 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=698dc730e89e3a7e6233b5b5aae6685409804cf9;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 7c3829a79..5c8408b19 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-07-10 Albert Chin-A-Young * ltcf-cxx.sh (archive_cmds, irix): Added -Wl to -update_registry diff --git a/ltconfig.in b/ltconfig.in index c05908612..a4126e407 100755 --- a/ltconfig.in +++ b/ltconfig.in @@ -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*)