Skip to content

Commit

Permalink
wasm: add a makefile comment about the static sqlite3.h/c version inf…
Browse files Browse the repository at this point in the history
…o injected into the JS files possibly differing from the runtime-emited version info when a user provides their own sqlite3.c.
  • Loading branch information
sgbeal committed Apr 25, 2024
1 parent dc5f4b0 commit dd7a92a
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions ext/wasm/GNUmakefile
Original file line number Diff line number Diff line change
Expand Up @@ -289,6 +289,12 @@ endif
# embedding in the JS files and in building the distribution zip file.
# It must NOT be in $(dir.tmp) because we need it to survive the
# cleanup process for the dist build to work properly.
#
# Slight caveat: this uses the version info from the in-tree
# sqlite3.c/h, which may diff from a user-provided $(sqlite3.c). The
# end result is that the generated JS files may have static version
# info from $(bin.version-info) which differ from their runtime-emited
# version info (e.g. from sqlite3_libversion()).
bin.version-info := $(dir.top)/version-info
.NOTPARALLEL: $(bin.version-info)
$(bin.version-info): $(dir.tool)/version-info.c $(sqlite3.h) $(dir.top)/Makefile
Expand Down

0 comments on commit dd7a92a

Please sign in to comment.