Skip to content

Commit 25c5f8e

Browse files
authored
Merge pull request #1803 from tursodatabase/fix-libsql-wasm-build
link math lib which necessary for LibSQL vector search
2 parents 4411414 + 9280b8e commit 25c5f8e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libsql-sqlite3/ext/wasm/GNUmakefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -345,7 +345,7 @@ $(bin.c-pp): c-pp.c $(sqlite3.c) $(MAKEFILE)
345345
$(CC) -O0 -o $@ c-pp.c $(sqlite3.c) '-DCMPP_DEFAULT_DELIM="//#"' -I$(dir.top) \
346346
-DSQLITE_OMIT_LOAD_EXTENSION -DSQLITE_OMIT_DEPRECATED -DSQLITE_OMIT_UTF16 \
347347
-DSQLITE_OMIT_SHARED_CACHE -DSQLITE_OMIT_SHARED_MEM -DSQLITE_THREADSAFE=0 \
348-
-DSQLITE_TEMP_STORE=3
348+
-DSQLITE_TEMP_STORE=3 -lm
349349
define C-PP.FILTER
350350
# Create $2 from $1 using $(bin.c-pp)
351351
# $1 = Input file: c-pp -f $(1).js

0 commit comments

Comments
 (0)