From 786a689e9fdf96bb9ba1a56eb1ab777c992aa5f3 Mon Sep 17 00:00:00 2001 From: Regina Obe Date: Mon, 29 Jun 2026 17:48:50 -0400 Subject: [PATCH] Force PG_CONFIG to output full path Otherwise doesn't work on msys/mingw CMake Closes #211 --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index a4a28f38..4027f5c9 100644 --- a/Makefile +++ b/Makefile @@ -14,7 +14,7 @@ # this file only exists to support pgxnclient -PG_CONFIG ?= pg_config +PG_CONFIG ?= $(shell where pg_config.exe || command -v pg_config) CMAKE_PG_CONFIG = -DPostgreSQL_CONFIG=$(PG_CONFIG) .PHONY: all install installcheck