From 062b0e6eb293ada8f0cffe8eea433218d337f939 Mon Sep 17 00:00:00 2001 From: Ralf Wildenhues Date: Mon, 20 Dec 2004 08:45:46 +0000 Subject: [PATCH] * libtool.m4 [solaris] (AC_LIBTOOL_PROG_LD_SHLIBS): Use ${wl} for whole_archive_flag_spec. Missing backport reported by Ralf Menzel . --- ChangeLog | 4 ++++ libtool.m4 | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 47f1ff983..54329dea2 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,4 +1,8 @@ 2004-12-20 Ralf Wildenhues + + * libtool.m4 [solaris] (AC_LIBTOOL_PROG_LD_SHLIBS): Use ${wl} for + whole_archive_flag_spec. Missing backport reported by Ralf Menzel + . * tests/demo-nopic.test [solaris, sunos]: Skip test. diff --git a/libtool.m4 b/libtool.m4 index 6870a870b..8ce84fadd 100644 --- a/libtool.m4 +++ b/libtool.m4 @@ -5737,7 +5737,7 @@ $echo "local: *; };" >> $output_objdir/$libname.ver~ case $host_os in solaris2.[[0-5]] | solaris2.[[0-5]].*) ;; *) # Supported since Solaris 2.6 (maybe 2.5.1?) - _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='-z allextract$convenience -z defaultextract' ;; + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract' ;; esac _LT_AC_TAGVAR(link_all_deplibs, $1)=yes ;; -- 2.47.3