forked from hans/Nominatim
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:
@@ -1,7 +1,9 @@
|
||||
MODULES = nominatim
|
||||
VPATH = $(MODSRCDIR)
|
||||
PG_CPPFLAGS = -I$(MODSRCDIR)
|
||||
include $(PGXS)
|
||||
|
||||
VPATH = $(MODSRCDIR)
|
||||
|
||||
all:
|
||||
chmod 755 nominatim.so
|
||||
|
||||
|
||||
Reference in New Issue
Block a user