topology: correct version script path

contrary to libasound, version script for libatopology is a regular
source file. while it's often the case that $(builddir) and $(srcdir)
point to the same directory, they don't always have to. therefore path
needs to point explicitly to $(srcdir) for Versions script in topology

Closes: https://github.com/alsa-project/alsa-lib/pull/383
Fixes: GH-382
Fixes: dc7da761f3 ("topology: separate Versions linker script")
Signed-off-by: Jan Palus <jpalus@fastmail.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
This commit is contained in:
Jan Palus 2024-01-30 14:24:25 +01:00 committed by Jaroslav Kysela
parent 7e3a3c2b0a
commit 2a736a0d25

View file

@ -2,7 +2,7 @@ EXTRA_DIST = Versions
COMPATNUM=@LIBTOOL_VERSION_INFO@
if VERSIONED_SYMBOLS
VSYMS = -Wl,--version-script=Versions
VSYMS = -Wl,--version-script=$(srcdir)/Versions
else
VSYMS =
endif