Skip to content

Commit b7510c5

Browse files
authored
fix: generate .a from .o for older emscripten (#34)
* fix: generate .a from .o for older emscripten * chore: Adjust output path
1 parent 4c16aba commit b7510c5

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

Makefile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,4 +137,5 @@ dist: dist/sqlite3.a
137137
# See https://docs.microsoft.com/en-us/dotnet/standard/data/sqlite/custom-versions?tabs=netcore-cli#bundles for more details.
138138
dist/sqlite3.a: $(BITCODE_FILES) $(EXPORTED_FUNCTIONS_JSON)
139139
mkdir -p dist
140-
$(EMCC) $(EMFLAGS) $(EMFLAGS_DIST) $(BITCODE_FILES) -r -o $@
140+
$(EMCC) $(EMFLAGS) $(EMFLAGS_DIST) $(BITCODE_FILES) -r -o sqlite3.o
141+
ar rcs dist/sqlite3.a sqlite3.o

src/nuget/uno.sqlite-wasm.nuspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
33
<metadata minClientVersion="5.0.0">
44
<id>Uno.sqlite-wasm</id>
5-
<version>3.40.0.4</version>
5+
<version>3.40.0.5</version>
66
<title>Uno SQLite for WebAssembly</title>
77
<authors>Uno Platform</authors>
88
<owners>unoplatform</owners>

0 commit comments

Comments
 (0)