From 9ea83d1e731dba1b74fbde009298e7ce998704c0 Mon Sep 17 00:00:00 2001 From: Ivan FB Date: Fri, 27 Mar 2026 19:24:04 +0100 Subject: [PATCH] avoid compiling nph on windows --- Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Makefile b/Makefile index 4523de291..68222bb3e 100644 --- a/Makefile +++ b/Makefile @@ -272,9 +272,13 @@ networkmonitor: | build deps librln $(NIMBLEDEPS_STAMP) .PHONY: build-nph install-nph clean-nph print-nph-path build-nph: | build deps +ifneq ($(detected_OS),Windows) nimble install nph@0.7.0 -y echo "Check if nph utility is available:" PATH="$(CURDIR)/nimbledeps/bin:$$PATH" command -v nph +else + echo "Skipping nph build on Windows (nph is only used on Unix-like systems)" +endif GIT_PRE_COMMIT_HOOK := .git/hooks/pre-commit