Skip to content

Commit 673c953

Browse files
authored
Fix bug when using system sqlite (#188)
Also removes a debug print
1 parent 73f8b3b commit 673c953

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

Makefile

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ else
2929
endif
3030

3131
ifneq ($(EXQLITE_SYSTEM_LDFLAGS),)
32-
LDFLAGS += $(EXQLITE_SYSTEM_CFLAGS)
32+
LDFLAGS += $(EXQLITE_SYSTEM_LDFLAGS)
3333
else
3434
# best attempt to link the system library
3535
# if the user didn't supply it in the environment
@@ -52,9 +52,6 @@ ARCHIVE_NAME = $(PREFIX)/sqlite3_nif.a
5252

5353
OBJ = $(SRC:c_src/%.c=$(BUILD)/%.o)
5454

55-
$(info ${SRC} == ${OBJ} == ${wildcard c_src/*.c})
56-
$(info ${LDFLAGS})
57-
5855
ifneq ($(CROSSCOMPILE),)
5956
ifeq ($(CROSSCOMPILE), Android)
6057
CFLAGS += -fPIC -Os -z global

0 commit comments

Comments
 (0)