Jan Engelhardt 2022-08-08 15:48:05 +00:00 committed by Git OBS Bridge
parent 3c1c6c8939
commit 1e31cea636
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
-------------------------------------------------------------------
Tue Feb 1 17:11:16 UTC 2022 - Jan Engelhardt <jengelh@inai.de>

View File

@ -98,7 +98,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