We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1f4a363 commit fac7677Copy full SHA for fac7677
Makefile
@@ -78,7 +78,7 @@ all: $(TARGET)
78
79
# Link the final target
80
$(TARGET): $(OBJ_FILES) $(DEF_FILE)
81
- $(CC) $(LDFLAGS) -o $@ $^
+ $(CC) -o $@ $^ $(LDFLAGS)
82
ifeq ($(PLATFORM),windows)
83
# Generate import library for Windows
84
dlltool -D $@ -d $(DEF_FILE) -l $(DIST_DIR)/js.lib
@@ -131,7 +131,7 @@ endif
131
132
# Compile test target
133
$(TEST_TARGET): $(TEST_FILES) $(TARGET)
134
- $(CC) $(INCLUDES) $^ -lm -o $@ libs/sqlite3.c -DSQLITE_CORE
+ $(CC) $(INCLUDES) $^ -o $@ libs/sqlite3.c -DSQLITE_CORE
135
136
# Testing the extension
137
test: $(TARGET) $(TEST_TARGET)
0 commit comments