diff options
author | Bruno Haible <bruno@clisp.org> | 2010-11-27 18:57:39 +0100 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2010-11-27 18:57:39 +0100 |
commit | a32097e18b520c74b0102c22f7d80f8a648976a0 (patch) | |
tree | 92be0f97740fd4d0f135d4835c08377cad74bcdd /lib/Makefile.am | |
parent | 66c51d48a8a1b3b7f72e198b082e4b1500b44c6b (diff) | |
download | libunistring-a32097e18b520c74b0102c22f7d80f8a648976a0.tar.gz |
Export also undocumented symbols.
Diffstat (limited to 'lib/Makefile.am')
-rw-r--r-- | lib/Makefile.am | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/lib/Makefile.am b/lib/Makefile.am index 00b797d..eaa6bef 100644 --- a/lib/Makefile.am +++ b/lib/Makefile.am @@ -209,8 +209,10 @@ HEADERS_WITH_EXTERNS = \ unistring/version.in.h # List of exported symbols. -# We extract it from the header files that get installed, removing symbols -# start with "_UC". +# We extract it from the header files that get installed. +# We keep symbols that start with "_UC", because they may be needed for +# compiling newer versions of gnulib modules when the gnulib module +# 'libunistring-optional' is in use. # This file has the same format as the one expected by the libtool option # '-export-symbols', but we don't use this option, because it would prevent us # from building some of the gnulib unit tests. @@ -223,7 +225,6 @@ libunistring.sym : $(HEADERS_WITH_EXTERNS) fi; \ done \ | $(srcdir)/declared.sh | LC_ALL=C sort | LC_ALL=C uniq \ - | grep -v '^_UC' \ > $@-t mv $@-t $@ # We distribute it because declared.sh relies on GNU sed. |