diff --git a/libopenraw.spec b/libopenraw.spec index 050552b..740ad1c 100644 --- a/libopenraw.spec +++ b/libopenraw.spec @@ -58,6 +58,8 @@ digital cameras, in GTK+ applications. %prep %autosetup +# this may be installed into a different prefix than gdk-pixbuf2 (e.g. flatpaks) +sed -i -e '/gdk_pixbuf_moduledir/s/PKG_CONFIG/& --define-variable=prefix=${prefix}/' configure %build %configure --disable-static --enable-gnome --disable-silent-rules