summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordrahn <drahn@openbsd.org>2006-05-03 15:48:16 +0000
committerdrahn <drahn@openbsd.org>2006-05-03 15:48:16 +0000
commit66571c226a9d53fe18e79a8374393d06a70d79ec (patch)
tree40c2a337065d89bcde761d5844c691229de87345
parentKeep the state of the debugger constistant, let it know a the dynamic (diff)
downloadwireguard-openbsd-66571c226a9d53fe18e79a8374393d06a70d79ec.tar.xz
wireguard-openbsd-66571c226a9d53fe18e79a8374393d06a70d79ec.zip
Extra paranoid, do not allow the dynamic linker to have unresolved references
as this causes much frustration as it fails to run after being installed and is a paint to recover.
-rw-r--r--libexec/ld.so/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/libexec/ld.so/Makefile b/libexec/ld.so/Makefile
index 52a303a510a..6e7139e0767 100644
--- a/libexec/ld.so/Makefile
+++ b/libexec/ld.so/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.30 2005/09/28 16:20:01 drahn Exp $
+# $OpenBSD: Makefile,v 1.31 2006/05/03 15:48:16 drahn Exp $
SUBDIR=ldconfig ldd
VPATH=${.CURDIR}/../../lib/libc/string
@@ -22,7 +22,7 @@ CFLAGS += -I${.CURDIR} -I${.CURDIR}/${MACHINE_ARCH} \
-Dstrsep=_dl_strsep
INSTALL_STRIP=
-ELF_LDFLAGS+=--shared -Bsymbolic
+ELF_LDFLAGS+=--shared -Bsymbolic --no-undefined
$(PROG):
$(LD) -x -e _dl_start $(ELF_LDFLAGS) -o $(PROG) $(OBJS) $(LDADD)