From 4f9e7f692ea1dc6370ee9978b34c4255d28b3c3c Mon Sep 17 00:00:00 2001 From: Zdenek Kabelac Date: Fri, 9 Oct 2015 21:31:41 +0200 Subject: [PATCH] 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 file changed, 3 insertions(+), 1 deletion(-) 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);\