Skip to content

Commit dd7a92a

Browse files
committed
wasm: add a makefile comment about the static sqlite3.h/c version info injected into the JS files possibly differing from the runtime-emited version info when a user provides their own sqlite3.c.
1 parent dc5f4b0 commit dd7a92a

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

ext/wasm/GNUmakefile

+6
Original file line numberDiff line numberDiff line change
@@ -289,6 +289,12 @@ endif
289289
# embedding in the JS files and in building the distribution zip file.
290290
# It must NOT be in $(dir.tmp) because we need it to survive the
291291
# cleanup process for the dist build to work properly.
292+
#
293+
# Slight caveat: this uses the version info from the in-tree
294+
# sqlite3.c/h, which may diff from a user-provided $(sqlite3.c). The
295+
# end result is that the generated JS files may have static version
296+
# info from $(bin.version-info) which differ from their runtime-emited
297+
# version info (e.g. from sqlite3_libversion()).
292298
bin.version-info := $(dir.top)/version-info
293299
.NOTPARALLEL: $(bin.version-info)
294300
$(bin.version-info): $(dir.tool)/version-info.c $(sqlite3.h) $(dir.top)/Makefile

0 commit comments

Comments
 (0)