mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2026-02-06 04:06:34 -05:00
topology: separate Versions linker script
A slightly different solution is preferred than PR recommends (bellow). Only symbols with snd_ prefix should be public. Create a minimal Versions file for libatopology. Link: https://github.com/alsa-project/alsa-lib/pull/376 Signed-off-by: Jaroslav Kysela <perex@perex.cz>
This commit is contained in:
parent
55c6338290
commit
dc7da761f3
2 changed files with 8 additions and 1 deletions
|
|
@ -1,7 +1,7 @@
|
||||||
COMPATNUM=@LIBTOOL_VERSION_INFO@
|
COMPATNUM=@LIBTOOL_VERSION_INFO@
|
||||||
|
|
||||||
if VERSIONED_SYMBOLS
|
if VERSIONED_SYMBOLS
|
||||||
VSYMS = -Wl,--version-script=../Versions
|
VSYMS = -Wl,--version-script=Versions
|
||||||
else
|
else
|
||||||
VSYMS =
|
VSYMS =
|
||||||
endif
|
endif
|
||||||
|
|
|
||||||
7
src/topology/Versions
Normal file
7
src/topology/Versions
Normal file
|
|
@ -0,0 +1,7 @@
|
||||||
|
ALSA_1.2.1 {
|
||||||
|
global:
|
||||||
|
snd_*;
|
||||||
|
|
||||||
|
local:
|
||||||
|
*;
|
||||||
|
};
|
||||||
Loading…
Add table
Add a link
Reference in a new issue