diff options
author | sbd <sbd> | 2012-04-23 08:14:36 +0000 |
---|---|---|
committer | sbd <sbd> | 2012-04-23 08:14:36 +0000 |
commit | 37bb6e7e52585f0b62868fba5db883e2ad66474d (patch) | |
tree | 2a677965e9bc5210e608d12866b59e0b31f07965 /mk/platform | |
parent | 039359d09c510b35bf57f1d0a9bbb56c4d4b15cd (diff) | |
download | pkgsrc-37bb6e7e52585f0b62868fba5db883e2ad66474d.tar.gz |
The path to libc.so.6 needs to include ${LIBABISUFFIX}.
Diffstat (limited to 'mk/platform')
-rw-r--r-- | mk/platform/Linux.mk | 6 |
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 |