diff options
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | lib/Makefile.am | 8 |
2 files changed, 13 insertions, 1 deletions
@@ -1,3 +1,9 @@ +2010-09-26 Bruno Haible <bruno@clisp.org> + + Fix exported symbol list in VPATH builds after 2010-05-16 change. + * lib/Makefile.am (libunistring.sym): Find header files in the right + directory. + 2010-09-23 Bruno Haible <bruno@clisp.org> Update after gnulib changed. diff --git a/lib/Makefile.am b/lib/Makefile.am index d5c0d6f..65cf906 100644 --- a/lib/Makefile.am +++ b/lib/Makefile.am @@ -215,7 +215,13 @@ HEADERS_WITH_EXTERNS = \ # '-export-symbols', but we don't use this option, because it would prevent us # from building some of the gnulib unit tests. libunistring.sym : $(HEADERS_WITH_EXTERNS) - for f in $(HEADERS_WITH_EXTERNS); do cat $(srcdir)/$$f; done \ + for f in $(HEADERS_WITH_EXTERNS); do \ + if test -f $$f; then \ + cat $$f; \ + else \ + cat $(srcdir)/$$f; \ + fi; \ + done \ | $(srcdir)/declared.sh | LC_ALL=C sort | LC_ALL=C uniq \ | grep -v '^_UC' \ > $@-t |