Manually add gio-2.0 linker flags to fix FTBFS
This commit is contained in:
parent
f36f372e3a
commit
4f1ef586fb
@ -97,6 +97,8 @@ for file in python/examples/*.py; do
|
|||||||
done
|
done
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
export LDFLAGS="$(pkg-config --libs gio-2.0) $LDFLAGS"
|
||||||
|
|
||||||
sed -i -e 's|Config::CONFIG\["sitearchdir"\]|Config::CONFIG["vendorarchdir"]|' \
|
sed -i -e 's|Config::CONFIG\["sitearchdir"\]|Config::CONFIG["vendorarchdir"]|' \
|
||||||
-e 's|Config::CONFIG\["sitelibdir"\]|Config::CONFIG["vendorlibdir"]|' \
|
-e 's|Config::CONFIG\["sitelibdir"\]|Config::CONFIG["vendorlibdir"]|' \
|
||||||
-e "s|rbconfig -e 'print Config|rbconfig -e 'print RbConfig|g" \
|
-e "s|rbconfig -e 'print Config|rbconfig -e 'print RbConfig|g" \
|
||||||
|
Loading…
Reference in New Issue
Block a user