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