From b7510c59d3cdeb2635c46a4f7351e345586d86e2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Laban?= Date: Mon, 28 Oct 2024 16:34:31 -0400 Subject: [PATCH] fix: generate .a from .o for older emscripten (#34) * fix: generate .a from .o for older emscripten * chore: Adjust output path --- Makefile | 3 ++- src/nuget/uno.sqlite-wasm.nuspec | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index a2db7f2..3cc0a12 100644 --- a/Makefile +++ b/Makefile @@ -137,4 +137,5 @@ dist: dist/sqlite3.a # See https://docs.microsoft.com/en-us/dotnet/standard/data/sqlite/custom-versions?tabs=netcore-cli#bundles for more details. dist/sqlite3.a: $(BITCODE_FILES) $(EXPORTED_FUNCTIONS_JSON) mkdir -p dist - $(EMCC) $(EMFLAGS) $(EMFLAGS_DIST) $(BITCODE_FILES) -r -o $@ + $(EMCC) $(EMFLAGS) $(EMFLAGS_DIST) $(BITCODE_FILES) -r -o sqlite3.o + ar rcs dist/sqlite3.a sqlite3.o diff --git a/src/nuget/uno.sqlite-wasm.nuspec b/src/nuget/uno.sqlite-wasm.nuspec index 8a11d53..fa38397 100644 --- a/src/nuget/uno.sqlite-wasm.nuspec +++ b/src/nuget/uno.sqlite-wasm.nuspec @@ -2,7 +2,7 @@ Uno.sqlite-wasm - 3.40.0.4 + 3.40.0.5 Uno SQLite for WebAssembly Uno Platform unoplatform