From b9e44d70c41851bc7f9a809b0c611d542777893ee7c5b5987c8a8317f49ebbcf Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Mon, 8 Aug 2022 14:27:40 +0000 Subject: [PATCH] - Add forced symvers OBS-URL: https://build.opensuse.org/package/show/security:forensics/libcthreads?expand=0&rev=17 --- libcthreads.changes | 5 +++++ libcthreads.spec | 4 +++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/libcthreads.changes b/libcthreads.changes index 89e0478..dac3158 100644 --- a/libcthreads.changes +++ b/libcthreads.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Aug 8 11:37:44 UTC 2022 - Jan Engelhardt + +- Add forced symvers + ------------------------------------------------------------------- Sat Jan 8 10:43:00 UTC 2022 - Jan Engelhardt diff --git a/libcthreads.spec b/libcthreads.spec index a4370c5..7a572e7 100644 --- a/libcthreads.spec +++ b/libcthreads.spec @@ -64,7 +64,9 @@ applications that want to make use of libcthreads. %build autoreconf -fi -%configure --disable-static +# see libcdata for version-sc +echo "V_%version { global: *; };" >v.sym +%configure --disable-static LDFLAGS="-Wl,--version-script=$PWD/v.sym" %make_build %install