From: Bruno Haible Date: Mon, 6 Jul 2020 17:28:51 +0000 (+0200) Subject: Fix compilation error on AIX (regression from 2019-01-06). X-Git-Tag: v0.21~35 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1783cebab58003572b29756b760d3dce0a4d1ec5;p=thirdparty%2Fgettext.git Fix compilation error on AIX (regression from 2019-01-06). * gettext-runtime/intl/Makefile.am (localename-table.h): Fix insertion of export.h. --- diff --git a/gettext-runtime/intl/Makefile.am b/gettext-runtime/intl/Makefile.am index a327d360f..94bc7b79a 100644 --- a/gettext-runtime/intl/Makefile.am +++ b/gettext-runtime/intl/Makefile.am @@ -302,7 +302,7 @@ MOSTLYCLEANFILES += libintl.h localename-table.h: $(srcdir)/localename-table.in.h $(srcdir)/export.h sed -e 's/extern \([^"]\)/extern LIBINTL_DLL_EXPORTED \1/' \ -e 's/extern,/extern LIBINTL_DLL_EXPORTED,/' \ - -e "/#if HAVE_USELOCALE/r $(srcdir)/export.h" \ + -e "/#if HAVE_WORKING_USELOCALE/r $(srcdir)/export.h" \ < $(srcdir)/localename-table.in.h \ | sed -e 's,@''HAVE_VISIBILITY''@,@HAVE_VISIBILITY@,g' \ > localename-table.h