From 7a286a8f1f77b45fdc43eb3cf84f2ddb1692e9b0 Mon Sep 17 00:00:00 2001 From: Frank Halasz Date: Wed, 18 Mar 2026 00:50:14 -0700 Subject: [PATCH] Fix sed script in linux-common.mk --- bin/linux-common.mk | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bin/linux-common.mk b/bin/linux-common.mk index d19943f..6e76aec 100644 --- a/bin/linux-common.mk +++ b/bin/linux-common.mk @@ -8,7 +8,8 @@ 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][0-9]\)/\\1/") + GLIBC_VERSION := $(shell ldd --version | head -1 | sed -e "s/^.* \([0-9]\.[0-9]\+\)/\\1/") + $(info xxxxxxx $(GLIBC_VERSION)) GLIBC_CHECK := $(shell echo "$(GLIBC_VERSION) >= 2.38" | bc) ifneq ($(GLIBC_CHECK),1) include linux-libbsd.mk