]> git.alsa-project.org Git - alsa-lib.git/commitdiff
topology: correct version script path
authorJan Palus <jpalus@fastmail.com>
Tue, 30 Jan 2024 13:24:25 +0000 (14:24 +0100)
committerJaroslav Kysela <perex@perex.cz>
Tue, 30 Jan 2024 13:31:46 +0000 (14:31 +0100)
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: dc7da761f3a2 ("topology: separate Versions linker script")
Signed-off-by: Jan Palus <jpalus@fastmail.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
src/topology/Makefile.am

index 0429958847384b768874ebb576236138e924498d..e0b78373a050fab0f1fd5a75997954f1a7420dd5 100644 (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