summaryrefslogtreecommitdiffstats
path: root/lib/Makefile
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2002-05-11 17:51:04 +0000
committerobrien <obrien@FreeBSD.org>2002-05-11 17:51:04 +0000
commit94b803cf52c4efc4aeaeec9a1c01d20d5757be94 (patch)
treebdd3e83dc2d4abf2586af308889b16d5314b7435 /lib/Makefile
parentd2df975828efec9133d97c53b1b0bb4e29f2ce30 (diff)
downloadFreeBSD-src-94b803cf52c4efc4aeaeec9a1c01d20d5757be94.zip
FreeBSD-src-94b803cf52c4efc4aeaeec9a1c01d20d5757be94.tar.gz
We don't need libgnumalloc or libresolv on ELF systems.
Diffstat (limited to 'lib/Makefile')
-rw-r--r--lib/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Makefile b/lib/Makefile
index 7007a98..6645281 100644
--- a/lib/Makefile
+++ b/lib/Makefile
@@ -39,7 +39,7 @@ _csu=csu/${MACHINE_ARCH}
_csu=csu
.endif
-.if ${MACHINE_ARCH} == "i386"
+.if ${OBJFORMAT} == "aout" && ${MACHINE_ARCH} == "i386"
_libgnumalloc= libgnumalloc
_libresolv= libresolv
.endif
OpenPOWER on IntegriCloud