1
0
mirror of https://github.com/postgrespro/pg_probackup.git synced 2024-11-27 09:21:18 +02:00

PGPRO-2413. Use PG_LIBS_INTERNAL instead of PG_LIBS to link with libpq library within build tree

This commit is contained in:
Anastasia 2019-03-04 17:08:50 +03:00
parent e9190e6cc3
commit 38bd369145

View File

@ -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);