diff --git a/libcaca.spec b/libcaca.spec index a96641c..a815c0f 100644 --- a/libcaca.spec +++ b/libcaca.spec @@ -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" \