Skip to content
Snippets Groups Projects
Commit 8b94ed31 authored by Christoph Berg's avatar Christoph Berg 📡
Browse files

Unapply patch from git

parent c844e854
No related branches found
Tags debian/1.8.1-1
No related merge requests found
Pipeline #112713 passed
......@@ -25,7 +25,13 @@ include $(PGXS)
PGVER := $(shell echo $(VERSION) | sed "s/^\([^\.]\+\)\..*/\1/" )
PGVERNEW := $(shell if [ $(PGVER) -ge 12 ] ; then echo N ; else echo O ; fi )
MYBINLIBS := -L$(shell $(PG_CONFIG) --pkglibdir) -lpgport -lm
ifeq ($(PGVERNEW), N)
PG_LIBS += -L$(shell $(PG_CONFIG) --pkglibdir)
LIBS := $(filter-out -lpam -lxml2 -lxslt -lselinux -ledit, $(LIBS))
MYBINLIBS := $(LIBS) $(PG_LIBS) -lm
else
MYBINLIBS := $(PG_LIBS) -lm
endif
dump.c: prepare
./prepare
......@@ -36,7 +42,7 @@ prepare: prepare.o q3cube.o q3c_poly.o
gen_data: gen_data.c
$(CC) $< $(CPPFLAGS) $(PG_LFGLAGS) $(LDFLAGS) $(MYBINLIBS) -o $@
test: gen_data
test: gen_data all
createdb q3c_test
psql q3c_test -c "CREATE TABLE test (ra double precision, dec double precision)"
psql q3c_test -c "CREATE TABLE test1 (ra double precision, dec double precision)"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment