]> git.ipfire.org Git - thirdparty/gettext.git/commitdiff
Fix -export-symbols and -export-symbols-regex support on Solaris 11.3.
authorBruno Haible <bruno@clisp.org>
Tue, 28 Jul 2020 17:43:57 +0000 (19:43 +0200)
committerBruno Haible <bruno@clisp.org>
Sun, 11 Sep 2022 12:52:56 +0000 (14:52 +0200)
Apply fix from <https://savannah.gnu.org/patch/?9467>.

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.

m4/libtool.m4

index 38b31b8e3120631069b7e79c2324d31d58afe253..160fe9f3ed1c77ec04d7fe3410c21a5acda12733 100644 (file)
@@ -3931,7 +3931,7 @@ osf*)
   symcode='[[BCDEGQRST]]'
   ;;
 solaris*)
-  symcode='[[BDRT]]'
+  symcode='[[BCDRT]]'
   ;;
 sco3.2v5*)
   symcode='[[DT]]'