summaryrefslogtreecommitdiffstats
path: root/libexec/rtld-elf
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>2000-03-27 16:11:27 +0000
committerbde <bde@FreeBSD.org>2000-03-27 16:11:27 +0000
commitd5aa63b724deb4c25a53493914491b1985417010 (patch)
treee4b13043221b1af4c1132af37ab180686eba062f /libexec/rtld-elf
parent21f9648373f0ef358b3c863a852e4add9508955b (diff)
downloadFreeBSD-src-d5aa63b724deb4c25a53493914491b1985417010.zip
FreeBSD-src-d5aa63b724deb4c25a53493914491b1985417010.tar.gz
Fixed missing DPADDs.
Fixed some style bugs (some usual ones for LDADD, and misformatting of $FreeBSD$).
Diffstat (limited to 'libexec/rtld-elf')
-rw-r--r--libexec/rtld-elf/Makefile9
1 files changed, 5 insertions, 4 deletions
diff --git a/libexec/rtld-elf/Makefile b/libexec/rtld-elf/Makefile
index ae3174b..db8955e 100644
--- a/libexec/rtld-elf/Makefile
+++ b/libexec/rtld-elf/Makefile
@@ -1,6 +1,5 @@
-#
# $FreeBSD$
-#
+
MAINTAINER= jdp
PROG= ld-elf.so.1
SRCS= rtld_start.S rtld.c lockdflt.c map_object.c malloc.c \
@@ -28,11 +27,13 @@ LDSO_IS_EXECUTABLE= yes
.ifdef LDSO_IS_EXECUTABLE
OBJS+= dyn_hack.so
LDFLAGS+= -Wl,-T,${LDSCRIPT} -Wl,-E -Wl,-Bstatic
-LDADD+= -lc
+DPADD= ${LIBC}
+LDADD= -lc
.else
CFLAGS+= -fpic -DPIC
LDFLAGS+= -shared -Wl,-Bsymbolic
-LDADD+= -lc_pic
+DPADD= ${LIBC_PIC}
+LDADD= -lc_pic
.endif
dyn_hack.so:
OpenPOWER on IntegriCloud