Fixed broken library paths on recent ubuntu packages

Close #179
This commit is contained in:
Daniele Varrazzo
2018-05-19 17:08:13 +01:00
parent 02e6c5ce96
commit 021d0b0393
2 changed files with 5 additions and 3 deletions

View File

@ -25,6 +25,10 @@ endif
PG_LIBS = $(libpq)
# libs pgport, pgcommon moved somewhere else in some ubuntu version
# see ticket #179
PG_LIBS += -L$(shell $(PG_CONFIG) --pkglibdir)
USE_PGXS = 1 # use pgxs if not in contrib directory
PGXS := $(shell $(PG_CONFIG) --pgxs)
include $(PGXS)