summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZdenek Kabelac <zkabelac@redhat.com>2015-10-09 21:31:41 +0200
committerZdenek Kabelac <zkabelac@redhat.com>2015-10-13 16:02:20 +0200
commit4f9e7f692ea1dc6370ee9978b34c4255d28b3c3c (patch)
tree0c22f5a789375cbdc9c9951b9d25adc34ebc95e4
parent4b586ad3c26be5eaaeff38d767d5f2421ee1151b (diff)
downloadlvm2-4f9e7f692ea1dc6370ee9978b34c4255d28b3c3c.tar.gz
makefiles: generate Local
Use same exported symbols list for other generated symfile as it appeared to be the right way for libdm. Local { local: *; };
-rw-r--r--make.tmpl.in4
1 files changed, 3 insertions, 1 deletions
diff --git a/make.tmpl.in b/make.tmpl.in
index 121727809..f1d4fada7 100644
--- a/make.tmpl.in
+++ b/make.tmpl.in
@@ -497,7 +497,9 @@ EXPORTED_SYMBOLS := $(wildcard $(srcdir)/.exported_symbols.Base $(srcdir)/.expor
ifeq (,$(firstword $(EXPORTED_SYMBOLS)))
set -e; (echo "Base {"; echo " global:";\
$(SED) "s/^/ /;s/$$/;/" $<;\
- echo " local:"; echo " *;"; echo "};") > $@
+ echo "};";\
+ echo "Local {"; echo " local:"; echo " *;"; echo "};";\
+ ) > $@
else
set -e;\
R=$$(sort $^ | uniq -u);\