Skip to content

Commit

Permalink
another attempt of fixing the build on ubuntu
Browse files Browse the repository at this point in the history
  • Loading branch information
Sergey Koposov committed Oct 21, 2019
1 parent 07bdf65 commit 724fd4b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ PGVER := $(shell echo $(VERSION) | sed "s/^\([^\.]\+\)\..*/\1/" )
PGVERNEW := $(shell if [ $(PGVER) -ge 12 ] ; then echo N ; else echo O ; fi )

ifeq ($(PGVERNEW), N)
PG_LIBS += -L$(shell $(PG_CONFIG) --pkglibdir)
LIBS := $(filter-out -lpam -lxml2 -lxslt, $(LIBS))
MYBINLIBS := $(LIBS) $(PG_LIBS) -lm
else
MYBINLIBS := $(PG_LIBS) -lm
Expand Down

0 comments on commit 724fd4b

Please sign in to comment.