From 54c81a3762c4a9d062efbe4f56d571049eab0231 Mon Sep 17 00:00:00 2001 From: Frank Halasz Date: Wed, 18 Mar 2026 01:15:21 -0700 Subject: [PATCH] Fixed comment in linux-compiler.mk --- bin/linux-common.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/linux-common.mk b/bin/linux-common.mk index 23c4fb4..7a8afcf 100644 --- a/bin/linux-common.mk +++ b/bin/linux-common.mk @@ -8,7 +8,7 @@ ifeq ($(USE_LIBBSD),T) # Use LIBBSD - but only if glibc < 2.38 # Because we only need strlcat, strlcpy and friends from libbsd # and they are included in glibc from 2.38 on. - GLIBC_VERSION := $(shell ldd --version | head -1 | sed -e "s/^.* \([0-9]\.[0-9]\+\)/\\1/") + GLIBC_VERSION := $(shell getconf GNU_LIBC_VERSION | sed 's/glibc //') GLIBC_CHECK := $(shell echo "$(GLIBC_VERSION) >= 2.38" | bc) ifneq ($(GLIBC_CHECK),1) include linux-libbsd.mk