master - make.tmpl: Mark internal sharedlib symbols local.
Gitweb: http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=34c956afc19cd8a1023444ee333983e8b840e759 Commit: 34c956afc19cd8a1023444ee333983e8b840e759 Parent: d0ff35c5a6665ef59a5ed86a6b7d920f909300a2 Author: Alasdair G Kergon <[email protected]> AuthorDate: Wed Aug 26 13:36:23 2015 +0100 Committer: Alasdair G Kergon <[email protected]> CommitterDate: Wed Aug 26 13:36:23 2015 +0100
make.tmpl: Mark internal sharedlib symbols local.
Since commit 797c18d543947f4c2777b4dcf3ceff57cb55352b some internal symbols have been exported in shared libraries by mistake because 'local: *' got lost. Fix the shell script not to compare the whole filename with 'Base'
--- WHATS_NEW | 1 + make.tmpl.in | 2 +- 2 files changed, 2 insertions(+), 1 deletions(-)
WHATS_NEW +1 -0
@@ -1,5 +1,6 @@ Version 2.02.129 - =================================== + Fix shared library generation to stop exporting internal functions.(2.02.120) Accept --cachemode with lvconvert. Fix and improve reporting properties of cache-pool. Enable usage of --cachepolicy and --cachesetting with lvconvert.
make.tmpl.in +1 -1
@@ -505,7 +505,7 @@ else for i in $$(echo $(EXPORTED_SYMBOLS) | tr ' ' '\n' | sort -rnt_ -k5 ); do\ echo "$${i##*.} {"; echo " global:";\ $(SED) "s/^/ /;s/$$/;/" $$i;\ - test "$$i" = Base && { echo " local:"; echo " *;"; };\ + test "$${i##*.}" = Base && { echo " local:"; echo " *;"; };\ echo "};";\ done > $@ endif