summaryrefslogtreecommitdiff
path: root/mk/tools/tools.NetBSD.mk
diff options
context:
space:
mode:
Diffstat (limited to 'mk/tools/tools.NetBSD.mk')
-rw-r--r--mk/tools/tools.NetBSD.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/mk/tools/tools.NetBSD.mk b/mk/tools/tools.NetBSD.mk
index b9f3ba45667..90a435bd7db 100644
--- a/mk/tools/tools.NetBSD.mk
+++ b/mk/tools/tools.NetBSD.mk
@@ -1,4 +1,4 @@
-# $NetBSD: tools.NetBSD.mk,v 1.45 2012/01/14 07:44:34 obache Exp $
+# $NetBSD: tools.NetBSD.mk,v 1.46 2012/05/26 13:09:54 obache Exp $
#
# System-supplied tools for the NetBSD operating system.
@@ -53,7 +53,7 @@ TOOLS_PLATFORM.install?= ${TOOLDIR}/bin/${MACHINE_GNU_PLATFORM}-install
.if exists(/usr/bin/install-info)
TOOLS_PLATFORM.install-info?= /usr/bin/install-info
.endif
-.if exists(/sbin/ldconfig)
+.if exists(/sbin/ldconfig) && ${OBJECT_FMT} == "a.out"
TOOLS_PLATFORM.ldconfig?= /sbin/ldconfig
.endif
TOOLS_PLATFORM.ksh?= /bin/ksh