mirror of
https://github.com/openharmony/third_party_gettext.git
synced 2026-07-01 10:25:03 -04:00
Fix compilation error on AIX (regression from 2019-01-06).
* gettext-runtime/intl/Makefile.am (localename-table.h): Fix insertion of export.h.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user