From a703cf81261f28fc6b0ae53e8a683158a401ef89 Mon Sep 17 00:00:00 2001 From: sbd Date: Mon, 23 Apr 2012 08:14:36 +0000 Subject: The path to libc.so.6 needs to include ${LIBABISUFFIX}. --- mk/platform/Linux.mk | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'mk') diff --git a/mk/platform/Linux.mk b/mk/platform/Linux.mk index bcc7e4b63c0..ddbdc61ad7d 100644 --- a/mk/platform/Linux.mk +++ b/mk/platform/Linux.mk @@ -1,4 +1,4 @@ -# $NetBSD: Linux.mk,v 1.50 2012/04/09 04:19:24 sbd Exp $ +# $NetBSD: Linux.mk,v 1.51 2012/04/23 08:14:36 sbd Exp $ # # Variable definitions for the Linux operating system. @@ -87,8 +87,8 @@ LIBABISUFFIX?= 64 .endif ## Use _CMD so the command only gets run when needed! -.if exists(/lib/libc.so.6) -_GLIBC_VERSION_CMD= /lib/libc.so.6 --version | \ +.if exists(/lib${LIBABISUFFIX}/libc.so.6) +_GLIBC_VERSION_CMD= /lib${LIBABISUFFIX}/libc.so.6 --version | \ sed -ne's/^GNU C.*version \(.*\),.*$$/\1/p' GLIBC_VERSION= ${_GLIBC_VERSION_CMD:sh} .endif -- cgit v1.2.3