master - makefiles: generate Local
Gitweb: http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=4f9e7f692ea1dc6370ee9978b34c4255d28b3c3c Commit: 4f9e7f692ea1dc6370ee9978b34c4255d28b3c3c Parent: 4b586ad3c26be5eaaeff38d767d5f2421ee1151b Author: Zdenek Kabelac <[email protected]> AuthorDate: Fri Oct 9 21:31:41 2015 +0200 Committer: Zdenek Kabelac <[email protected]> CommitterDate: Tue Oct 13 16:02:20 2015 +0200
makefiles: generate Local
Use same exported symbols list for other generated symfile as it appeared to be the right way for libdm.
Local {
local:
*;
};
---
make.tmpl.in | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)make.tmpl.in +3 -1
@@ -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);\