mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
makefiles: generate Local
Use same exported symbols list for other generated symfile as it appeared to be the right way for libdm. Local { local: *; };
This commit is contained in:
parent
4b586ad3c2
commit
4f9e7f692e
@ -497,7 +497,9 @@ EXPORTED_SYMBOLS := $(wildcard $(srcdir)/.exported_symbols.Base $(srcdir)/.expor
|
|||||||
ifeq (,$(firstword $(EXPORTED_SYMBOLS)))
|
ifeq (,$(firstword $(EXPORTED_SYMBOLS)))
|
||||||
set -e; (echo "Base {"; echo " global:";\
|
set -e; (echo "Base {"; echo " global:";\
|
||||||
$(SED) "s/^/ /;s/$$/;/" $<;\
|
$(SED) "s/^/ /;s/$$/;/" $<;\
|
||||||
echo " local:"; echo " *;"; echo "};") > $@
|
echo "};";\
|
||||||
|
echo "Local {"; echo " local:"; echo " *;"; echo "};";\
|
||||||
|
) > $@
|
||||||
else
|
else
|
||||||
set -e;\
|
set -e;\
|
||||||
R=$$(sort $^ | uniq -u);\
|
R=$$(sort $^ | uniq -u);\
|
||||||
|
Loading…
Reference in New Issue
Block a user