From 0c7202809fad4b64d024e72732f9872edc871f11 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?IOhannes=20m=20zm=C3=B6lnig?= Date: Tue, 7 Jan 2025 17:30:19 +0100 Subject: [PATCH] Test target.triplet for "windows" for detecting Windows builds MSYS2/MinGW64/clangarm64 reports "aarch64-w64-windows-gnu" as the architecture... Closes: https://github.com/pure-data/pd-lib-builder/issues/83 --- Makefile.pdlibbuilder | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile.pdlibbuilder b/Makefile.pdlibbuilder index 38a1220..9ed3446 100644 --- a/Makefile.pdlibbuilder +++ b/Makefile.pdlibbuilder @@ -430,7 +430,7 @@ ifneq ($(filter darwin%, $(target.triplet)),) system = Darwin endif -ifneq ($(filter mingw% cygwin%, $(target.triplet)),) +ifneq ($(filter mingw% cygwin% windows%, $(target.triplet)),) system = Windows endif