parent
02e6c5ce96
commit
021d0b0393
@ -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)
|
||||
|
@ -34,9 +34,7 @@ include $(PGXS)
|
||||
# remove dependency on libxml2, libxslt, and libpam.
|
||||
# XXX: find a better way to make sure we are linking with libraries
|
||||
# from pg_config which we actually need.
|
||||
LIBS := $(filter-out -lxml2, $(LIBS))
|
||||
LIBS := $(filter-out -lxslt, $(LIBS))
|
||||
LIBS := $(filter-out -lpam, $(LIBS))
|
||||
LIBS := $(filter-out -lpam -lxml2 -lxslt, $(LIBS))
|
||||
|
||||
pg_repack.sql: pg_repack.sql.in
|
||||
echo "BEGIN;" > $@; \
|
||||
|
Loading…
x
Reference in New Issue
Block a user