avoid compiling nph on windows

This commit is contained in:
Ivan FB 2026-03-27 19:24:04 +01:00
parent 1dd0b7cfb3
commit 9ea83d1e73
No known key found for this signature in database
GPG Key ID: DF0C67A04C543270

View File

@ -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