aboutsummaryrefslogtreecommitdiff
path: root/ext/wasm
diff options
context:
space:
mode:
authorstephan <stephan@noemail.net>2025-02-06 13:18:49 +0000
committerstephan <stephan@noemail.net>2025-02-06 13:18:49 +0000
commit3c013479c3884f5f996bc914a7fd32df84b867d8 (patch)
tree7fa36b13272a4202f44a0030b68dfdfbcc2c0e47 /ext/wasm
parent659bafd05dee789298074283ce857e27e65ef675 (diff)
downloadsqlite-3c013479c3884f5f996bc914a7fd32df84b867d8.tar.gz
sqlite-3c013479c3884f5f996bc914a7fd32df84b867d8.zip
Fix a dependencies/order-of-operations bug in ext/wasm/GNUmakefile which causes creation of files filtered via c-pp to fail if the ext/wasm/jswasm dir did not exist beforehand.
FossilOrigin-Name: 4bac76138853a89484d3ac0486a9ed5143aa671b13b4b3abb704c1487213b388
Diffstat (limited to 'ext/wasm')
-rw-r--r--ext/wasm/GNUmakefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/wasm/GNUmakefile b/ext/wasm/GNUmakefile
index 3e9621c6d..dc8ea54fd 100644
--- a/ext/wasm/GNUmakefile
+++ b/ext/wasm/GNUmakefile
@@ -425,6 +425,7 @@ define SQLITE.CALL.C-PP.FILTER
# $2 = Output file: c-pp -o $(2).js
# $3 = optional c-pp -D... flags
$(2): $(1) $$(MAKEFILE) $$(bin.c-pp)
+ mkdir -p $$(dir $$@)
$$(bin.c-pp) -f $(1) -o $$@ $(3) $(SQLITE.CALL.C-PP.FILTER.global)
#CLEAN_FILES += $(2)
endef