From 1ca610cdc7c0551e2d3c79417e4cdb5bc2480c59ef6d998a3d95d2501d3710ac Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Tue, 9 Aug 2022 07:41:07 +0000 Subject: [PATCH] - Add forced symvers OBS-URL: https://build.opensuse.org/package/show/security:forensics/libfole?expand=0&rev=8 --- libfole.changes | 5 +++++ libfole.spec | 4 +++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/libfole.changes b/libfole.changes index cceced6..16d1399 100644 --- a/libfole.changes +++ b/libfole.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Aug 8 11:37:44 UTC 2022 - Jan Engelhardt + +- Add forced symvers + ------------------------------------------------------------------- Sun Jan 16 19:02:04 UTC 2022 - Jan Engelhardt diff --git a/libfole.spec b/libfole.spec index 7160262..962d7b4 100644 --- a/libfole.spec +++ b/libfole.spec @@ -64,7 +64,9 @@ applications that want to make use of libfole. %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