Tweak options early.

This commit is contained in:
Nuno Cruces
2024-05-16 16:24:33 +01:00
parent 5f1c372a65
commit 323bd6e47e
5 changed files with 46 additions and 43 deletions

View File

@@ -20,6 +20,7 @@ WASI_SDK="$ROOT/tools/wasi-sdk-22.0/bin"
-Wl,--stack-first \
-Wl,--import-undefined \
-D_HAVE_SQLITE_CONFIG_H \
-DSQLITE_CUSTOM_INCLUDE=sqlite_opt.h \
$(awk '{print "-Wl,--export="$0}' exports.txt)
trap 'rm -f sqlite3.tmp' EXIT