From 8d8c42de521c714bf32b5bca61f9841b6f69a3be233555bcc893354997831f28 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Mon, 8 Aug 2022 15:47:24 +0000 Subject: [PATCH] - Add forced symvers OBS-URL: https://build.opensuse.org/package/show/security:forensics/libuna?expand=0&rev=30 --- libuna.changes | 5 +++++ libuna.spec | 5 ++++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/libuna.changes b/libuna.changes index 76c3c70..b97ec61 100644 --- a/libuna.changes +++ b/libuna.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Aug 8 11:37:44 UTC 2022 - Jan Engelhardt + +- Add forced symvers + ------------------------------------------------------------------- Sat Jun 11 09:33:42 UTC 2022 - Jan Engelhardt diff --git a/libuna.spec b/libuna.spec index f79df17..d949d0e 100644 --- a/libuna.spec +++ b/libuna.spec @@ -92,11 +92,14 @@ applications that want to make use of libuna. %build autoreconf -fi +# see libcdata for version-sc +echo "V_%version { global: *; };" >v.sym %configure \ %if "@BUILD_FLAVOR@" == "mini" --disable-tools \ %endif - --disable-static --enable-wide-character-type + --disable-static --enable-wide-character-type \ + LDFLAGS="-Wl,--version-script=$PWD/v.sym" %make_build %install