bug-gettext
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #64323] Some symbols not exported in 0.22


From: David Bohman
Subject: [bug #64323] Some symbols not exported in 0.22
Date: Sat, 9 Sep 2023 20:25:55 -0400 (EDT)

Follow-up Comment #4, bug #64323 (project gettext):

Thanks Christian for the suggestion.

I have verified that adding -DBUILDING_DLL to AM_CPPFLAGS resolves the issue.
Here is the patch that I used:

diff --git a/gettext-runtime/intl/Makefile.am
b/gettext-runtime/intl/Makefile.am
index f6d8f54..fdc9b87 100644
--- a/gettext-runtime/intl/Makefile.am
+++ b/gettext-runtime/intl/Makefile.am
@@ -35,7 +35,7 @@ SUFFIXES =
 AM_CPPFLAGS = \
   -Ignulib-lib -I$(srcdir)/gnulib-lib \
   -DLOCALEDIR=$(localedir_c_make) -DLOCALE_ALIAS_PATH=\"$(aliaspath)\" \
-  -DLIBDIR=\"$(libdir)\" -DBUILDING_LIBINTL
+  -DLIBDIR=\"$(libdir)\" -DBUILDING_LIBINTL -DBUILDING_DLL
 
 if WOE32
 # On mingw, disable the declarations of *printf functions as aliases to the

Of course, then you have to run automake and autoconf within
gettext-runtime/intl.

I suggest that we get this fix into a patch release of gettesxt.


    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?64323>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]