1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-01-03 05:18:29 +03:00

Fix exported_symbols generation to use standard compiler arguments.

This commit is contained in:
Alasdair Kergon 2010-08-02 12:44:21 +00:00
parent 2d696f9efc
commit 0146f0de8b
2 changed files with 2 additions and 1 deletions

View File

@ -1,5 +1,6 @@
Version 2.02.73 - Version 2.02.73 -
================================ ================================
Fix exported_symbols generation to use standard compiler arguments.
Use #include <> not "" in lvm2app.h which gets installed on the system. Use #include <> not "" in lvm2app.h which gets installed on the system.
Make liblvm.device-mapper wait for include file generation. Make liblvm.device-mapper wait for include file generation.
Drop explicit 'Base' version from exported symbols. Drop explicit 'Base' version from exported symbols.

View File

@ -360,7 +360,7 @@ distclean: cleandir $(SUBDIRS.distclean)
set -e; \ set -e; \
( cat $(srcdir)/.exported_symbols; \ ( cat $(srcdir)/.exported_symbols; \
if test x$(EXPORTED_HEADER) != x; then \ if test x$(EXPORTED_HEADER) != x; then \
$(CC) -E -P $(EXPORTED_HEADER) | \ $(CC) -E -P $(INCLUDES) $(DEFS) $(CFLAGS) $(EXPORTED_HEADER) | \
$(SED) -ne "/^typedef|}/!s/.*[ \*]\(\$(EXPORTED_FN_PREFIX)_[a-z0-9_]*\)(.*/\1/p"; \ $(SED) -ne "/^typedef|}/!s/.*[ \*]\(\$(EXPORTED_FN_PREFIX)_[a-z0-9_]*\)(.*/\1/p"; \
fi \ fi \
) > $@ ) > $@