From c37003c127d30eabb73635811292840378f402d4 Mon Sep 17 00:00:00 2001 From: Arnaud Date: Wed, 15 Oct 2025 12:50:58 +0200 Subject: [PATCH] debug --- Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 2cf51bb..420e4ec 100644 --- a/Makefile +++ b/Makefile @@ -43,9 +43,12 @@ ifeq ($(OS),Windows_NT) PS_CMD := $$env:PATH += ';./libs'; .\$(BIN_NAME) endif +D = $$ + run: ifeq ($(OS),Windows_NT) - pwsh -Command '$env:PATH += '\'';./libs'\''; .\$(BIN_NAME)' + pwsh $(D)Env:Path += ";.\libs"; + .\$(BIN_NAME) else ifeq ($(UNAME_S),Darwin) # Instead of relying on install_name_tool, we can define DYLD_LIBRARY_PATH # DYLD_LIBRARY_PATH=$(LIBS_DIR) ./$(BIN_NAME)