diff --git a/tinyows.spec b/tinyows.spec index 42870d3..e7d479f 100644 --- a/tinyows.spec +++ b/tinyows.spec @@ -63,6 +63,9 @@ sed -i -e 's|/usr/tinyows/|%{_datadir}/%{name}/|' src/ows_define.h # fix DSO lookup sed -i -e 's|-lpq|-lpq -lm|' Makefile +# respect fedora ldflags +sed -i -e 's|-lfl $(POSTGIS_LIB)|-lfl $(LDFLAGS) $(POSTGIS_LIB)|' Makefile + %make_build # disable timestamp inside docs