From: Bruno Haible Date: Tue, 28 Jul 2020 17:43:57 +0000 (+0200) Subject: Fix -export-symbols and -export-symbols-regex support on Solaris 11.3. X-Git-Tag: v0.21.1~99 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f11aff60925a8fdfd15f44c2282224bb60c5e661;p=thirdparty%2Fgettext.git Fix -export-symbols and -export-symbols-regex support on Solaris 11.3. Apply fix from . On Solaris 11.3 (as opposed to Solaris 11.0), the output of /usr/bin/nm -p on object files contains, for global variables without initializer, the letter 'C' (it was 'D' in Solaris 11.0). * m4/libtool.m4 (_LT_CMD_GLOBAL_SYMBOLS): Adjust symcode for Solaris. --- diff --git a/m4/libtool.m4 b/m4/libtool.m4 index 38b31b8e3..160fe9f3e 100644 --- a/m4/libtool.m4 +++ b/m4/libtool.m4 @@ -3931,7 +3931,7 @@ osf*) symcode='[[BCDEGQRST]]' ;; solaris*) - symcode='[[BDRT]]' + symcode='[[BCDRT]]' ;; sco3.2v5*) symcode='[[DT]]'