From d8709311c5fb045b372b7ed94089f899157cbf02 Mon Sep 17 00:00:00 2001 From: Hesham Can't Fly Date: Sat, 21 Jun 2025 17:51:07 +0100 Subject: [PATCH] GNUmakefile: switch to ldd --version for musl check (#24771) --- GNUmakefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/GNUmakefile b/GNUmakefile index a2b210e895..c859e6a196 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -31,7 +31,7 @@ endif ifeq ($(_SYS),Linux) LINUX := 1 TCCOS := linux -ifneq ($(shell ldd /bin/ls | grep musl),) +ifneq ($(shell ldd --version 2>&1 | grep -i musl),) TCCOS := linuxmusl endif endif