]> git.ipfire.org Git - thirdparty/gettext.git/commitdiff
Fix build error on Solaris 7/8 with gcc >= 4.0.
authorBruno Haible <bruno@clisp.org>
Mon, 4 Sep 2006 19:20:36 +0000 (19:20 +0000)
committerBruno Haible <bruno@clisp.org>
Tue, 23 Jun 2009 10:13:58 +0000 (12:13 +0200)
gettext-tools/src/ChangeLog
gettext-tools/src/Makefile.am

index 9c7796927d41934e9af1cb9ef1410a3eaa92f79c..586edfa96f78e6ab357dedc8093416e80c79baab 100644 (file)
@@ -1,3 +1,8 @@
+2006-09-04  Bruno Haible  <bruno@clisp.org>
+
+       * Makefile.am (msginit_SOURCES): Add ../../gettext-runtime/intl/lock.c.
+       Reported by Aaron Williams <aaron_williams@net.com>.
+
 2006-08-28  Bruno Haible  <bruno@clisp.org>
 
        * x-scheme.c (read_object): Don't call arglist_parser_remember if
index 5a47262b09700dd412ca4b4bc62fb7459d2a8744..7d57f526a893ae758335285bc72f7820a15d4c43 100644 (file)
@@ -204,7 +204,13 @@ else
 msggrep_SOURCES = ../woe32dll/c++msggrep.cc
 endif
 msginit_SOURCES = msginit.c
-msginit_SOURCES += lang-table.c plural-count.c ../../gettext-runtime/intl/localealias.c
+msginit_SOURCES += lang-table.c plural-count.c
+msginit_SOURCES += ../../gettext-runtime/intl/localealias.c
+# This is needed because on Solaris, localealias.c requires the symbol
+# libintl_thread_in_use which is defined in lock.c. The copy of lock.c inside
+# libintl.so is not sufficient, because libintl.so doesn't export the symbol
+# libintl_thread_in_use.
+msginit_SOURCES += ../../gettext-runtime/intl/lock.c
 if !WOE32DLL
 msguniq_SOURCES = msguniq.c
 else