Jan Engelhardt 2022-08-09 08:09:39 +00:00 committed by Git OBS Bridge
parent 97531ec741
commit 00d3e022b9
2 changed files with 10 additions and 1 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Aug 8 11:37:44 UTC 2022 - Jan Engelhardt <jengelh@inai.de>
- Add forced symvers
-------------------------------------------------------------------
Mon Jan 24 09:34:24 UTC 2022 - Jan Engelhardt <jengelh@inai.de>

View File

@ -89,7 +89,11 @@ autoreconf -fi
# OOT builds are presently broken, so we have to install
# within each python iteration now, not in %%install.
%{python_expand #
%configure --disable-static --enable-wide-character-type --enable-python PYTHON_VERSION="%{$python_bin_suffix}"
# see libcdata for version-sc
echo "V_%version { global: *; };" >v.sym
%configure --disable-static --enable-wide-character-type --enable-python \
PYTHON_VERSION="%{$python_bin_suffix}" \
LDFLAGS="-Wl,--version-script=$PWD/v.sym"
%make_build
%make_install DESTDIR="%_builddir/rt"
%make_build clean