]> git.pld-linux.org Git - packages/alsa-lib.git/blob - version-script-path.patch
up to 1.2.11
[packages/alsa-lib.git] / version-script-path.patch
1 From 5387a33da48a542480ca6628b1dc1fff7afd5011 Mon Sep 17 00:00:00 2001
2 From: Jan Palus <jpalus@fastmail.com>
3 Date: Tue, 30 Jan 2024 14:24:25 +0100
4 Subject: [PATCH] topology: correct version script path
5
6 contrary to libasound, version script for libatopology is a regular
7 source file. while it's often the case that $(builddir) and $(srcdir)
8 point to the same directory, they don't always have to. therefore path
9 needs to point explicitly to $(srcdir) for Versions script in topology
10
11 Fixes: GH-382
12 Fixes: dc7da761f3a2 ("topology: separate Versions linker script")
13 Signed-off-by: Jan Palus <jpalus@fastmail.com>
14 ---
15  src/topology/Makefile.am | 2 +-
16  1 file changed, 1 insertion(+), 1 deletion(-)
17
18 diff --git a/src/topology/Makefile.am b/src/topology/Makefile.am
19 index 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 -- 
32 2.43.0
33
This page took 0.042593 seconds and 3 git commands to generate.