Skip to content

Commit d870931

Browse files
GNUmakefile: switch to ldd --version for musl check (#24771)
1 parent da97e0a commit d870931

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

GNUmakefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ endif
3131
ifeq ($(_SYS),Linux)
3232
LINUX := 1
3333
TCCOS := linux
34-
ifneq ($(shell ldd /bin/ls | grep musl),)
34+
ifneq ($(shell ldd --version 2>&1 | grep -i musl),)
3535
TCCOS := linuxmusl
3636
endif
3737
endif

0 commit comments

Comments
 (0)