Skip to content

Commit 6e15d19

Browse files
committed
Fix make
1 parent e3023fd commit 6e15d19

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

Makefile

+5
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,12 @@ else
4747
DLSUFFIX = .so
4848
endif
4949

50+
ifdef SQLITE_FOR_TESTING_DIR
51+
SHLIB_LINK := -L$(SQLITE_FOR_TESTING_DIR)/lib -lsqlite3
52+
PG_CFLAGS += -I$(SQLITE_FOR_TESTING_DIR)/include -Wl,-rpath,$(SQLITE_FOR_TESTING_DIR)/lib
53+
else
5054
SHLIB_LINK := -lsqlite3
55+
endif
5156

5257
ifdef ENABLE_GIS
5358
override SHLIB_LINK += -lspatialite

0 commit comments

Comments
 (0)