Skip to content

Commit 1f4a363

Browse files
committed
fix(Makefile): add math library flag to test target compilation
1 parent 5742954 commit 1f4a363

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ endif
131131

132132
# Compile test target
133133
$(TEST_TARGET): $(TEST_FILES) $(TARGET)
134-
$(CC) $(INCLUDES) $^ -o $@ libs/sqlite3.c -DSQLITE_CORE
134+
$(CC) $(INCLUDES) $^ -lm -o $@ libs/sqlite3.c -DSQLITE_CORE
135135

136136
# Testing the extension
137137
test: $(TARGET) $(TEST_TARGET)

0 commit comments

Comments
 (0)