GNUmakefile: switch to ldd --version for musl check (#24771)

This commit is contained in:
Hesham Can't Fly 2025-06-21 17:51:07 +01:00 committed by GitHub
parent da97e0a2e4
commit d8709311c5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -31,7 +31,7 @@ endif
ifeq ($(_SYS),Linux) ifeq ($(_SYS),Linux)
LINUX := 1 LINUX := 1
TCCOS := linux TCCOS := linux
ifneq ($(shell ldd /bin/ls | grep musl),) ifneq ($(shell ldd --version 2>&1 | grep -i musl),)
TCCOS := linuxmusl TCCOS := linuxmusl
endif endif
endif endif