respect fedora LDFLAGS
This commit is contained in:
parent
5773248e51
commit
a87d5de355
@ -63,6 +63,9 @@ sed -i -e 's|/usr/tinyows/|%{_datadir}/%{name}/|' src/ows_define.h
|
|||||||
# fix DSO lookup
|
# fix DSO lookup
|
||||||
sed -i -e 's|-lpq|-lpq -lm|' Makefile
|
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
|
%make_build
|
||||||
|
|
||||||
# disable timestamp inside docs
|
# disable timestamp inside docs
|
||||||
|
Loading…
Reference in New Issue
Block a user