mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-10-29 05:40:25 -04: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@
|
||||
|
||||
if VERSIONED_SYMBOLS
|
||||
VSYMS = -Wl,--version-script=../Versions
|
||||
VSYMS = -Wl,--version-script=Versions
|
||||
else
|
||||
VSYMS =
|
||||
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