summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorsbd <sbd>2012-04-23 08:14:36 +0000
committersbd <sbd>2012-04-23 08:14:36 +0000
commit64713639b703d911c48e262d6b39d7cfc5c03a48 (patch)
tree2a677965e9bc5210e608d12866b59e0b31f07965 /mk
parent3288c1e6c3882fae37d5a62d44598f1a157796df (diff)
downloadpkgsrc-64713639b703d911c48e262d6b39d7cfc5c03a48.tar.gz
The path to libc.so.6 needs to include ${LIBABISUFFIX}.
Diffstat (limited to 'mk')
-rw-r--r--mk/platform/Linux.mk6
1 files changed, 3 insertions, 3 deletions
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