]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
* m4/libtool.m4, tests/demo-nopic.test: Undo bogus commit.
authorRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Mon, 22 Nov 2004 15:48:32 +0000 (15:48 +0000)
committerRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Mon, 22 Nov 2004 15:48:32 +0000 (15:48 +0000)
ChangeLog
m4/libtool.m4
tests/demo-nopic.test

index d08df833c06e4b9d4319822d4131ddc5f578bb1e..74d58ce503e321922d5325766cd785f2e1a5fdeb 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
 2004-11-22  Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
 
+       * m4/libtool.m4, tests/demo-nopic.test: Undo bogus commit.
+
        * config/ltmain.m4sh (func_mode_link), tests/objectlist.test:
        Make sure the argument to `-objectlist' may contain spaces.
 
index 744443fdc41f50e895546b430ab35aad3936ca55..4240a5eb05c1f037903f26f3686f8747a2066aa6 100644 (file)
@@ -4120,11 +4120,11 @@ _LT_EOF
       ;;
 
     solaris*)
-      _LT_TAGVAR(no_undefined_flag, $1)=' -z defs'
+      _LT_TAGVAR(no_undefined_flag, $1)=' -z text'
       if test "$GCC" = yes; then
-       _LT_TAGVAR(archive_cmds, $1)='$CC -shared -z text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
+       _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
        _LT_TAGVAR(archive_expsym_cmds, $1)='$ECHO "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$ECHO "local: *; };" >> $lib.exp~
-         $CC -shared -z text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
+         $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
       else
        case `$CC -V 2>&1` in
        *"Compilers 5.0"*)
index c7133c3d6d8a8ad95ef9952613ebebc9f4ec15da..0aa901c5e2a1bea0dd05f05c64b99dd3abb2ed5b 100755 (executable)
@@ -27,9 +27,6 @@ case "$host" in
 hppa*|x86_64*|s390*)
        func_skip "$host doesn't like non-PIC shared libs"
        ;;
-       *-solaris*|*-sunos*)
-       func_skip "libtool does not build non-PIC shared libs on $host_os"
-       ;;
 esac
 
 func_rmprefixdir