From d9820fbd8446e7b5ed4f622c1fc0bc0524767c7262d7967d258deb6463d9606f Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Mon, 8 Aug 2022 14:28:37 +0000 Subject: [PATCH] add forced symvers OBS-URL: https://build.opensuse.org/package/show/security:forensics/libesedb?expand=0&rev=25 --- libesedb.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/libesedb.spec b/libesedb.spec index 65873ee..7078dcd 100644 --- a/libesedb.spec +++ b/libesedb.spec @@ -101,8 +101,11 @@ autoreconf -fi # OOT builds are presently broken, so we have to install # within each python iteration now, not in %%install. %{python_expand # +# see libcdata for version-sc +echo "V_%version { global: *; };" >v.sym %configure --disable-static --enable-wide-character-type \ - --enable-python PYTHON_VERSION="%{$python_bin_suffix}" + --enable-python PYTHON_VERSION="%{$python_bin_suffix}" \ + LDFLAGS="-Wl,--version-script=$PWD/v.sym" %make_build %make_install DESTDIR="%_builddir/rt" %make_build clean