mirror of
https://github.com/osm-search/Nominatim.git
synced 2026-02-16 15:47:58 +00: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:
@@ -1,7 +1,9 @@
|
|||||||
MODULES = nominatim
|
MODULES = nominatim
|
||||||
VPATH = $(MODSRCDIR)
|
PG_CPPFLAGS = -I$(MODSRCDIR)
|
||||||
include $(PGXS)
|
include $(PGXS)
|
||||||
|
|
||||||
|
VPATH = $(MODSRCDIR)
|
||||||
|
|
||||||
all:
|
all:
|
||||||
chmod 755 nominatim.so
|
chmod 755 nominatim.so
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user