aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/makefiles/pgxs.mk9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/makefiles/pgxs.mk b/src/makefiles/pgxs.mk
index c038836e73d..bfae02f90ce 100644
--- a/src/makefiles/pgxs.mk
+++ b/src/makefiles/pgxs.mk
@@ -62,6 +62,12 @@ endif
ifdef PGXS
+
+# External extensions must assume generated headers are available
+NO_GENERATED_HEADERS=yes
+# The temp-install rule won't work, either
+NO_TEMP_INSTALL=yes
+
# We assume that we are in src/makefiles/, so top is ...
top_builddir := $(dir $(PGXS))../..
include $(top_builddir)/src/Makefile.global
@@ -75,7 +81,8 @@ endif
ifeq ($(FLEX),)
FLEX = flex
endif
-endif
+
+endif # PGXS
override CPPFLAGS := -I. -I$(srcdir) $(CPPFLAGS)