summaryrefslogtreecommitdiff
path: root/regress/libexec/ld.so/dlclose/test2/libbb/Makefile
diff options
context:
space:
mode:
authorKurt Miller <kurt@cvs.openbsd.org>2005-09-30 14:51:53 +0000
committerKurt Miller <kurt@cvs.openbsd.org>2005-09-30 14:51:53 +0000
commit4cc856aee9566a0f2fc926e3137a17fc6cd9f68e (patch)
tree6bee8de37887cbe466d9d195fd341543f20c8a12 /regress/libexec/ld.so/dlclose/test2/libbb/Makefile
parent96c95ae27cabfdb84f146f5f0b3b20a72f8f342f (diff)
regress for a shared object with depenencies that have a shared common
dependency (similar to gaim). checks for use after free in dlclose.
Diffstat (limited to 'regress/libexec/ld.so/dlclose/test2/libbb/Makefile')
-rw-r--r--regress/libexec/ld.so/dlclose/test2/libbb/Makefile11
1 files changed, 11 insertions, 0 deletions
diff --git a/regress/libexec/ld.so/dlclose/test2/libbb/Makefile b/regress/libexec/ld.so/dlclose/test2/libbb/Makefile
new file mode 100644
index 00000000000..4d2ab5ffa5c
--- /dev/null
+++ b/regress/libexec/ld.so/dlclose/test2/libbb/Makefile
@@ -0,0 +1,11 @@
+# $OpenBSD: Makefile,v 1.1.1.1 2005/09/30 14:51:52 kurt Exp $
+
+LIB= bb
+SRCS= bb.c
+LDADD+= -Wl,-E
+LDADD+= -Wl,-rpath,$(ZZ_OBJDIR)
+LDADD+= -L$(ZZ_OBJDIR) -lzz
+
+regress: all
+
+.include <bsd.lib.mk>