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:
parent
2d696f9efc
commit
0146f0de8b
@ -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.
|
||||
|
@ -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 \
|
||||
) > $@
|
||||
|
Loading…
Reference in New Issue
Block a user