From 9d0857030927f7c64c66d83d1c09ade3c758498c Mon Sep 17 00:00:00 2001 From: Bruce Evans Date: Mon, 27 Mar 2000 16:11:27 +0000 Subject: [PATCH] Fixed missing DPADDs. Fixed some style bugs (some usual ones for LDADD, and misformatting of $FreeBSD$). --- libexec/rtld-elf/Makefile | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/libexec/rtld-elf/Makefile b/libexec/rtld-elf/Makefile index ae3174b375bd..db8955e4bf74 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: