]> git.pld-linux.org Git - packages/alsa-lib.git/blame - version-script-path.patch
up to 1.2.11
[packages/alsa-lib.git] / version-script-path.patch
CommitLineData
1efc31b4
JP
1From 5387a33da48a542480ca6628b1dc1fff7afd5011 Mon Sep 17 00:00:00 2001
2From: Jan Palus <jpalus@fastmail.com>
3Date: Tue, 30 Jan 2024 14:24:25 +0100
4Subject: [PATCH] topology: correct version script path
5
6contrary to libasound, version script for libatopology is a regular
7source file. while it's often the case that $(builddir) and $(srcdir)
8point to the same directory, they don't always have to. therefore path
9needs to point explicitly to $(srcdir) for Versions script in topology
10
11Fixes: GH-382
12Fixes: dc7da761f3a2 ("topology: separate Versions linker script")
13Signed-off-by: Jan Palus <jpalus@fastmail.com>
14---
15 src/topology/Makefile.am | 2 +-
16 1 file changed, 1 insertion(+), 1 deletion(-)
17
18diff --git a/src/topology/Makefile.am b/src/topology/Makefile.am
19index 04299588..e0b78373 100644
20--- a/src/topology/Makefile.am
21+++ b/src/topology/Makefile.am
22@@ -2,7 +2,7 @@ EXTRA_DIST = Versions
23 COMPATNUM=@LIBTOOL_VERSION_INFO@
24
25 if VERSIONED_SYMBOLS
26-VSYMS = -Wl,--version-script=Versions
27+VSYMS = -Wl,--version-script=$(srcdir)/Versions
28 else
29 VSYMS =
30 endif
31--
322.43.0
33
This page took 0.194483 seconds and 4 git commands to generate.