respect fedora LDFLAGS
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user