summaryrefslogtreecommitdiff
path: root/regress
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2005-04-18 17:45:47 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2005-04-18 17:45:47 +0000
commit5671b3297c9917eb80761fc0db85a9c6ffab0104 (patch)
tree4249e488b15bc5a13bb674eb444741a87c094cad /regress
parentb032138465fae1634798806d2ab4636d64b1105a (diff)
Correctly link on static arches.
Diffstat (limited to 'regress')
-rw-r--r--regress/misc/objc/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/regress/misc/objc/Makefile b/regress/misc/objc/Makefile
index 08648240e0b..e2bcab43f6a 100644
--- a/regress/misc/objc/Makefile
+++ b/regress/misc/objc/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.1 2005/03/26 17:21:25 kettenis Exp $
+# $OpenBSD: Makefile,v 1.2 2005/04/18 17:45:46 miod Exp $
.SUFFIXES: .m
@@ -10,8 +10,8 @@ LINK.m?= ${CC} ${CFLAGS} ${CPPFLAGS} ${LDFLAGS}
.m.o:
${COMPILE.m} ${.IMPSRC}
-PROG= main
-SRCS= main.m
-LDFLAGS= -lobjc
+PROG= main
+SRCS= main.m
+LDADD= -lobjc
.include <bsd.regress.mk>