From: Marko Kreen Date: Wed, 3 Oct 2012 11:26:54 +0000 (+0300) Subject: Survive empty PYTHON from PGXS X-Git-Tag: skytools_3_1_1~10 X-Git-Url: http://git.postgresql.org/gitweb/static/gitweb.js?a=commitdiff_plain;h=c3d5351ece5c62834b6bfafc83e4cf829d691e33;p=skytools.git Survive empty PYTHON from PGXS --- diff --git a/sql/common-pgxs.mk b/sql/common-pgxs.mk index 25a4c747..19760278 100644 --- a/sql/common-pgxs.mk +++ b/sql/common-pgxs.mk @@ -58,6 +58,10 @@ PG_CONFIG ?= pg_config PGXS = $(shell $(PG_CONFIG) --pgxs) include $(PGXS) +# when compiling locally and with postgres without python, +# the variable may be empty +PYTHON := $(if $(PYTHON),$(PYTHON),python) + # # common tools #