From: Alexandre Oliva Date: Sun, 25 Apr 1999 10:34:29 +0000 (+0000) Subject: * ltconfig.in (solaris*, whole_archive_flag_spec): Use -z X-Git-Tag: release-1-3~32 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=588e902893bf8280a9fb686942678af36aa2181e;p=thirdparty%2Flibtool.git * ltconfig.in (solaris*, whole_archive_flag_spec): Use -z allextract/defaultextract from Solaris 2.6 on. Reported by Brian Ford --- diff --git a/ChangeLog b/ChangeLog index e3ae6ec6d..2b4b2965a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,9 @@ 1999-04-25 Alexandre Oliva + * ltconfig.in (solaris*, whole_archive_flag_spec): Use -z + allextract/defaultextract from Solaris 2.6 on. + Reported by Brian Ford + * ltconfig.in (beos*, allow_undefined_flag): Do not build shared libraries with undefined symbols. diff --git a/ltconfig.in b/ltconfig.in index 7a7ba8dfb..b37dcc5c4 100755 --- a/ltconfig.in +++ b/ltconfig.in @@ -1335,6 +1335,11 @@ else $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linkopts~$rm $lib.exp' hardcode_libdir_flag_spec='-R$libdir' hardcode_shlibpath_var=no + case "$host_os" in + solaris2.[0-5] | solaris2.[0-5].*) ;; + *) # Supported since Solaris 2.6 (maybe 2.5.1?) + whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract' ;; + esac ;; sunos4*)