From 4f1ef586fb484ee6807ede8db4581edd0ae61805 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Sun, 3 Feb 2019 21:53:39 +0100 Subject: [PATCH] Manually add gio-2.0 linker flags to fix FTBFS --- libcaca.spec | 2 ++ 1 file changed, 2 insertions(+) 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" \