mirror of
git://sourceware.org/git/lvm2.git
synced 2025-01-03 05:18:29 +03:00
make.tmpl: Mark internal sharedlib symbols local.
Since commit 797c18d543
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 -
|
Version 2.02.129 -
|
||||||
===================================
|
===================================
|
||||||
|
Fix shared library generation to stop exporting internal functions.(2.02.120)
|
||||||
Accept --cachemode with lvconvert.
|
Accept --cachemode with lvconvert.
|
||||||
Fix and improve reporting properties of cache-pool.
|
Fix and improve reporting properties of cache-pool.
|
||||||
Enable usage of --cachepolicy and --cachesetting with lvconvert.
|
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\
|
for i in $$(echo $(EXPORTED_SYMBOLS) | tr ' ' '\n' | sort -rnt_ -k5 ); do\
|
||||||
echo "$${i##*.} {"; echo " global:";\
|
echo "$${i##*.} {"; echo " global:";\
|
||||||
$(SED) "s/^/ /;s/$$/;/" $$i;\
|
$(SED) "s/^/ /;s/$$/;/" $$i;\
|
||||||
test "$$i" = Base && { echo " local:"; echo " *;"; };\
|
test "$${i##*.}" = Base && { echo " local:"; echo " *;"; };\
|
||||||
echo "};";\
|
echo "};";\
|
||||||
done > $@
|
done > $@
|
||||||
endif
|
endif
|
||||||
|
Loading…
Reference in New Issue
Block a user