Skip to content

Commit

Permalink
Merge pull request #1803 from tursodatabase/fix-libsql-wasm-build
Browse files Browse the repository at this point in the history
link math lib which necessary for LibSQL vector search
  • Loading branch information
penberg authored Oct 31, 2024
2 parents 4411414 + 9280b8e commit 25c5f8e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libsql-sqlite3/ext/wasm/GNUmakefile
Original file line number Diff line number Diff line change
Expand Up @@ -345,7 +345,7 @@ $(bin.c-pp): c-pp.c $(sqlite3.c) $(MAKEFILE)
$(CC) -O0 -o $@ c-pp.c $(sqlite3.c) '-DCMPP_DEFAULT_DELIM="//#"' -I$(dir.top) \
-DSQLITE_OMIT_LOAD_EXTENSION -DSQLITE_OMIT_DEPRECATED -DSQLITE_OMIT_UTF16 \
-DSQLITE_OMIT_SHARED_CACHE -DSQLITE_OMIT_SHARED_MEM -DSQLITE_THREADSAFE=0 \
-DSQLITE_TEMP_STORE=3
-DSQLITE_TEMP_STORE=3 -lm
define C-PP.FILTER
# Create $2 from $1 using $(bin.c-pp)
# $1 = Input file: c-pp -f $(1).js
Expand Down

0 comments on commit 25c5f8e

Please sign in to comment.