summaryrefslogtreecommitdiff
path: root/regress/libexec/ld.so/dlclose/test2/libaa/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/libaa/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/libaa/Makefile')
-rw-r--r--regress/libexec/ld.so/dlclose/test2/libaa/Makefile13
1 files changed, 13 insertions, 0 deletions
diff --git a/regress/libexec/ld.so/dlclose/test2/libaa/Makefile b/regress/libexec/ld.so/dlclose/test2/libaa/Makefile
new file mode 100644
index 00000000000..ab782f45dd2
--- /dev/null
+++ b/regress/libexec/ld.so/dlclose/test2/libaa/Makefile
@@ -0,0 +1,13 @@
+# $OpenBSD: Makefile,v 1.1.1.1 2005/09/30 14:51:52 kurt Exp $
+
+LIB= aa
+SRCS= aa.c
+LDADD+= -Wl,-E
+LDADD+= -Wl,-rpath,$(BB_OBJDIR)
+LDADD+= -Wl,-rpath,$(CC_OBJDIR)
+LDADD+= -L$(BB_OBJDIR) -lbb
+LDADD+= -L$(CC_OBJDIR) -lcc
+
+regress: all
+
+.include <bsd.lib.mk>