From 7acccb4220d745c6c96c10c7fcec10de0db3e8c3 Mon Sep 17 00:00:00 2001 From: Anastasia Date: Mon, 4 Mar 2019 17:08:50 +0300 Subject: [PATCH] PGPRO-2413. Use PG_LIBS_INTERNAL instead of PG_LIBS to link with libpq library within build tree --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 482fa2e9..8372e3e1 100644 --- a/Makefile +++ b/Makefile @@ -47,7 +47,7 @@ endif PG_CPPFLAGS = -I$(libpq_srcdir) ${PTHREAD_CFLAGS} -Isrc -I$(top_srcdir)/$(subdir)/src override CPPFLAGS := -DFRONTEND $(CPPFLAGS) $(PG_CPPFLAGS) -PG_LIBS = $(libpq_pgport) ${PTHREAD_CFLAGS} +PG_LIBS_INTERNAL = $(libpq_pgport) ${PTHREAD_CFLAGS} all: checksrcdir $(INCLUDES);