From 144aeca1ee0bf896b39f9ddcee9293c81da96889 Mon Sep 17 00:00:00 2001 From: "Gary V. Vaughan" Date: Thu, 6 Sep 2001 21:58:14 +0000 Subject: [PATCH] * libtool.m4 (AC_LIBTOOL_PROG_LD_SHLIBS) [solaris*]: Typo. s/GXX/GCC/. --- ChangeLog | 2 ++ libtool.m4 | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 906d2942..16379407 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,7 @@ 2001-09-06 Gary V. Vaughan + * libtool.m4 (AC_LIBTOOL_PROG_LD_SHLIBS) [solaris*]: Typo. s/GXX/GCC/. + * libtool.m4 (archive_cmds, archive_expsym_cmds) [solaris*]: Changing no_undefined_flag from `-z text' to `-z defs' (see entry below at 2001-04-11 Alexandre Oliva ) has a problem. diff --git a/libtool.m4 b/libtool.m4 index 87dec3de..617f05c9 100644 --- a/libtool.m4 +++ b/libtool.m4 @@ -4864,7 +4864,7 @@ EOF solaris*) _LT_AC_TAGVAR(no_undefined_flag, $1)=' -z defs' - if test "$GXX" = yes; then + if test "$GCC" = yes; then _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags `test "x$allow_undefined_flag" = "x$no_undefined_flag" && $CC --print-libgcc-file-name`' _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags `test "x$allow_undefined_flag" = "x$no_undefined_flag" && $CC --print-libgcc-file-name`~$rm $lib.exp'