From ce4ad3c3a73a893b5a316205a6ac6ac372f4da8c Mon Sep 17 00:00:00 2001 From: Andrej730 Date: Thu, 11 Sep 2025 16:35:50 +0500 Subject: [PATCH] ifctester webapp makefile - fix issue on windows --- src/ifctester/Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/ifctester/Makefile b/src/ifctester/Makefile index b336b5d511..53456eeab4 100644 --- a/src/ifctester/Makefile +++ b/src/ifctester/Makefile @@ -32,6 +32,7 @@ webapp-dev: .PHONY: pyodide-download pyodide-download: + echo "Use Python ${PYTHON} and pip ${PIP} to build the package" @if [ -d "$(PYODIDE_DIR)" ]; then \ echo "Pyodide directory already exists at $(PYODIDE_DIR), skipping download"; \ else \ @@ -80,7 +81,9 @@ clean: .PHONY: dist dist: webapp-prepare - $(MAKE) -f ../common.mk dist PACKAGE_NAME=$(PACKAGE_NAME) +# For some reason OS is not initalized when we call common.mk dist, which matters on Windows. +# So we pass it explicitly. + $(MAKE) -f ../common.mk dist PACKAGE_NAME=$(PACKAGE_NAME) OS=$(OS) .PHONY: webapp-prepare webapp-prepare: webapp-build