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