From a9bfe5914b2c00415a818d62a43b462d93e08a64 Mon Sep 17 00:00:00 2001 From: yhirose Date: Wed, 6 May 2026 18:44:14 +0900 Subject: [PATCH] Fix #2441 --- test/Makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/test/Makefile b/test/Makefile index 48c3580..f449f20 100644 --- a/test/Makefile +++ b/test/Makefile @@ -18,8 +18,10 @@ ifneq ($(OS), Windows_NT) OPENSSL_SUPPORT = -DCPPHTTPLIB_OPENSSL_SUPPORT -lssl -lcrypto MBEDTLS_SUPPORT = -DCPPHTTPLIB_MBEDTLS_SUPPORT -lmbedtls -lmbedx509 -lmbedcrypto WOLFSSL_SUPPORT = -DCPPHTTPLIB_WOLFSSL_SUPPORT -lwolfssl - # Disable ASLR for ASAN compatibility on WSL2 (high-entropy ASLR conflicts with ASAN shadow memory) - SETARCH = setarch $(shell uname -m) -R + ifeq ($(UNAME_S), Linux) + # Disable ASLR for ASAN compatibility on WSL2 (high-entropy ASLR conflicts with ASAN shadow memory) + SETARCH = setarch $(shell uname -m) -R + endif endif endif