* m4/libtool.m4 [solaris] (_LT_LINKER_SHLIBS): Change no_undefined_flag

back to ' -z defs'.  Problems with linking against libgcc.a will have
to be resolved differently.
This commit is contained in:
Ralf Wildenhues 2004-12-20 08:06:21 +00:00
parent 67207187c7
commit 94b8d897d5
2 changed files with 5 additions and 1 deletions

View File

@ -1,5 +1,9 @@
2004-12-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* m4/libtool.m4 [solaris] (_LT_LINKER_SHLIBS): Change no_undefined_flag
back to ' -z defs'. Problems with linking against libgcc.a will have
to be resolved differently.
* tests/demo-nopic.test [solaris, sunos]: Skip test.
2004-12-18 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>

2
m4/libtool.m4 vendored
View File

@ -4156,7 +4156,7 @@ _LT_EOF
;;
solaris*)
_LT_TAGVAR(no_undefined_flag, $1)=' -z text'
_LT_TAGVAR(no_undefined_flag, $1)=' -z defs'
if test "$GCC" = yes; then
_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~