From 3f8b899c4a8e56b6edc0c7a6def290da6464fec7b343bdd56609ac02a79fa3a6 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Mon, 8 Aug 2022 14:26:55 +0000 Subject: [PATCH] - Add forced symvers OBS-URL: https://build.opensuse.org/package/show/security:forensics/libcpath?expand=0&rev=11 --- libcpath.changes | 5 +++++ libcpath.spec | 4 +++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/libcpath.changes b/libcpath.changes index 23b3ef0..dbf10e0 100644 --- a/libcpath.changes +++ b/libcpath.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Aug 8 11:37:44 UTC 2022 - Jan Engelhardt + +- Add forced symvers + ------------------------------------------------------------------- Fri Jan 21 09:16:41 UTC 2022 - Jan Engelhardt diff --git a/libcpath.spec b/libcpath.spec index 8da06a4..eb6a132 100644 --- a/libcpath.spec +++ b/libcpath.spec @@ -63,7 +63,9 @@ applications that want to make use of libcpath. %build autoreconf -fi -%configure --disable-static --enable-wide-character-type +# see libcdata for version-sc +echo "V_%version { global: *; };" >v.sym +%configure --disable-static --enable-wide-character-type LDFLAGS="-Wl,--version-script=$PWD/v.sym" %make_build %install