mirror of
https://github.com/osm-search/Nominatim.git
synced 2024-09-11 19:17:17 +03:00
provide srcdir for postgres module in VPATH and CPPFLAGS
The pgxs makefile in Postgres <= 9.2 cannot yet handle VPATH correctly. Provide header paths explicitly and overwrite VPATH after sourcing the pgxs file. Fixes #454.
This commit is contained in:
parent
98e5ba6b61
commit
badd2e46aa
@ -1,7 +1,9 @@
|
||||
MODULES = nominatim
|
||||
VPATH = $(MODSRCDIR)
|
||||
PG_CPPFLAGS = -I$(MODSRCDIR)
|
||||
include $(PGXS)
|
||||
|
||||
VPATH = $(MODSRCDIR)
|
||||
|
||||
all:
|
||||
chmod 755 nominatim.so
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user