From c9342f93933680b17cb5fb2892cff95ef1096119 Mon Sep 17 00:00:00 2001 From: zengman Date: Fri, 2 Feb 2024 15:25:19 +0800 Subject: [PATCH] Put the source code into the contrib directory and use "make". Compile failed #157 --- bin/Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/bin/Makefile b/bin/Makefile index a94fb7c..f551eb8 100644 --- a/bin/Makefile +++ b/bin/Makefile @@ -20,8 +20,10 @@ USE_PGXS = 1 # use pgxs if not in contrib directory endif endif -ifdef USE_PGXS +# see ticket #157 PG_CONFIG = pg_config + +ifdef USE_PGXS PGXS := $(shell $(PG_CONFIG) --pgxs) include $(PGXS) else