summaryrefslogtreecommitdiffstats
path: root/sbin/ldconfig/Makefile
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>1998-06-12 10:43:18 +0000
committerpeter <peter@FreeBSD.org>1998-06-12 10:43:18 +0000
commit5523252adc9a2653afb0b9a2a050aba5b902e036 (patch)
tree787003cbc4b5a77d3915ea14a4a20eb73dd92cd1 /sbin/ldconfig/Makefile
parent6da95c02e7dfd971a7cc10fd71c2e6763e023feb (diff)
downloadFreeBSD-src-5523252adc9a2653afb0b9a2a050aba5b902e036.zip
FreeBSD-src-5523252adc9a2653afb0b9a2a050aba5b902e036.tar.gz
Force -DFREEBSD_AOUT incase ldconfig is being compiled under elf.
Without this, <link.h> defines stuff for elf linking which is not what ldconfig needs.
Diffstat (limited to 'sbin/ldconfig/Makefile')
-rw-r--r--sbin/ldconfig/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/sbin/ldconfig/Makefile b/sbin/ldconfig/Makefile
index 4c833f6..840fd7f 100644
--- a/sbin/ldconfig/Makefile
+++ b/sbin/ldconfig/Makefile
@@ -1,9 +1,9 @@
-# $Id: Makefile,v 1.11 1997/06/29 21:40:54 bde Exp $
+# $Id: Makefile,v 1.12 1998/06/01 13:58:19 peter Exp $
PROG= ldconfig
SRCS= ldconfig.c shlib.c support.c
LDDIR?= ${.CURDIR}/../../libexec/rtld-aout
-CFLAGS+=-I${LDDIR}
+CFLAGS+=-I${LDDIR} -DFREEBSD_AOUT
MAN8= ldconfig.8
.PATH: ${LDDIR}
OpenPOWER on IntegriCloud