respect fedora LDFLAGS

This commit is contained in:
Neil Hanlon 2024-09-13 08:52:02 -04:00 committed by Neil Hanlon
parent 5773248e51
commit a87d5de355
Signed by: neil
GPG Key ID: 705BC21EC3C70F34

View File

@ -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