1From 2a736a0d2543f206fd2653aaae8a08a4c42eb917 Mon Sep 17 00:00:00 2001 2From: Michael Opdenacker <michael.opdenacker@bootlin.com> 3Date: Tue, 30 Jan 2024 14:24:25 +0100 4Subject: [PATCH] topology: correct version script path 5 6From: Jan Palus <jpalus@fastmail.com> 7 8contrary to libasound, version script for libatopology is a regular 9source file. while it's often the case that $(builddir) and $(srcdir) 10point to the same directory, they don't always have to. therefore path 11needs to point explicitly to $(srcdir) for Versions script in topology 12 13Closes: https://github.com/alsa-project/alsa-lib/pull/383 14Fixes: GH-382 15Fixes: dc7da761f3a2 ("topology: separate Versions linker script") 16Signed-off-by: Jan Palus <jpalus@fastmail.com> 17Signed-off-by: Jaroslav Kysela <perex@perex.cz> 18Upstream-Status: Backport [https://git.alsa-project.org/?p=alsa-lib.git;a=commitdiff;h=2a736a0d2543f206fd2653aaae8a08a4c42eb917] 19--- 20 src/topology/Makefile.am | 2 +- 21 1 file changed, 1 insertion(+), 1 deletion(-) 22 23diff --git a/src/topology/Makefile.am b/src/topology/Makefile.am 24index 04299588..e0b78373 100644 25--- a/src/topology/Makefile.am 26+++ b/src/topology/Makefile.am 27@@ -2,7 +2,7 @@ EXTRA_DIST = Versions 28 COMPATNUM=@LIBTOOL_VERSION_INFO@ 29 30 if VERSIONED_SYMBOLS 31-VSYMS = -Wl,--version-script=Versions 32+VSYMS = -Wl,--version-script=$(srcdir)/Versions 33 else 34 VSYMS = 35 endif 36-- 372.34.1 38 39