summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormiod <miod@openbsd.org>2005-04-18 17:45:46 +0000
committermiod <miod@openbsd.org>2005-04-18 17:45:46 +0000
commit203318850831fc64190a6fd070e1e16d41f6bb7b (patch)
tree5b603f973d53bc5ad552e92914c24f543d4072a5
parentsnprintf() return value handling. ok cloder@ henning@ (diff)
downloadwireguard-openbsd-203318850831fc64190a6fd070e1e16d41f6bb7b.tar.xz
wireguard-openbsd-203318850831fc64190a6fd070e1e16d41f6bb7b.zip
Correctly link on static arches.
-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>