diff --git a/qgis.spec b/qgis.spec index 9dfbd11..4186c30 100644 --- a/qgis.spec +++ b/qgis.spec @@ -106,6 +106,9 @@ cmake -Wno-dev %{intsq} \ %endif . +# add path to find libgdal.so +find ./ -iname build.make -exec sed -i 's#/libgdal.so#/usr/%{lib}/libgdal.so#' {} \; + #echo "for 'make' run first:" export QTDIR=%{_prefix} #echo "export PATH=$PATH:$QTDIR/bin"