Manually add gio-2.0 linker flags to fix FTBFS

This commit is contained in:
Miro Hrončok 2019-02-03 21:53:39 +01:00
parent f36f372e3a
commit 4f1ef586fb

View File

@ -97,6 +97,8 @@ for file in python/examples/*.py; do
done
%build
export LDFLAGS="$(pkg-config --libs gio-2.0) $LDFLAGS"
sed -i -e 's|Config::CONFIG\["sitearchdir"\]|Config::CONFIG["vendorarchdir"]|' \
-e 's|Config::CONFIG\["sitelibdir"\]|Config::CONFIG["vendorlibdir"]|' \
-e "s|rbconfig -e 'print Config|rbconfig -e 'print RbConfig|g" \