Skip to content

Commit

Permalink
DBZ-1549 Remove PostGIS dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
jpechane committed Nov 15, 2019
1 parent 7f1c6fe commit 01126bf
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,8 @@ EXTENSION = decoderbufs
PROTOBUF_C_CFLAGS = $(shell pkg-config --cflags 'libprotobuf-c >= 1.0.0')
PROTOBUF_C_LDFLAGS = $(shell pkg-config --libs 'libprotobuf-c >= 1.0.0')

ifneq ($(USE_POSTGIS),false)
C_PARAMS = -DUSE_POSTGIS
POSTGIS_C_LDFLAGS = -L/usr/local/lib -llwgeom
endif

PG_CPPFLAGS += -std=c11 $(PROTOBUF_C_CFLAGS) -I/usr/local/include $(C_PARAMS)
SHLIB_LINK += $(PROTOBUF_C_LDFLAGS) $(POSTGIS_C_LDFLAGS)
SHLIB_LINK += $(PROTOBUF_C_LDFLAGS)

OBJS = src/decoderbufs.o src/proto/pg_logicaldec.pb-c.o

Expand Down

0 comments on commit 01126bf

Please sign in to comment.