1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +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 -
================================
Fix exported_symbols generation to use standard compiler arguments.
Use #include <> not "" in lvm2app.h which gets installed on the system.
Make liblvm.device-mapper wait for include file generation.
Drop explicit 'Base' version from exported symbols.

View File

@ -360,7 +360,7 @@ distclean: cleandir $(SUBDIRS.distclean)
set -e; \
( cat $(srcdir)/.exported_symbols; \
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"; \
fi \
) > $@