mirror of
git://sourceware.org/git/lvm2.git
synced 2025-03-24 14:50:34 +03:00
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'
This commit is contained in:
parent
d0ff35c5a6
commit
34c956afc1
@ -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.
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user