diff --git a/libewf.changes b/libewf.changes index 6eb351a..3991bf2 100644 --- a/libewf.changes +++ b/libewf.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Aug 8 11:37:44 UTC 2022 - Jan Engelhardt + +- Add forced symvers + ------------------------------------------------------------------- Fri Jan 21 18:25:58 UTC 2022 - Jan Engelhardt diff --git a/libewf.spec b/libewf.spec index 1e20529..257e5e7 100644 --- a/libewf.spec +++ b/libewf.spec @@ -120,9 +120,12 @@ autoreconf -fi # OOT builds are presently broken, so we have to install # within each python iteration now, not in %%install. %{python_expand # +# see libcdata for version-sc +echo "V_%version { global: *; };" >v.sym %configure --disable-static --disable-rpath \ --enable-wide-character-type \ - --enable-python PYTHON_VERSION="%{$python_bin_suffix}" + --enable-python PYTHON_VERSION="%{$python_bin_suffix}" \ + LDFLAGS="-Wl,--version-script=$PWD/v.sym" %make_build %make_install DESTDIR="%_builddir/rt" %make_build clean