summaryrefslogtreecommitdiff
path: root/regress
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2015-01-24 10:39:22 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2015-01-24 10:39:22 +0000
commita6df289ceccb462f47b110cf3f1c0e999fb98525 (patch)
treeb435a46c1ff25cec597b3e1448849d0c2a94f09e /regress
parent4a49c21be050afe872384b55cef5c7691be73ca2 (diff)
Move -lz late in the linker commandline for things to build on static arches.
Diffstat (limited to 'regress')
-rw-r--r--regress/usr.bin/ssh/unittests/kex/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/regress/usr.bin/ssh/unittests/kex/Makefile b/regress/usr.bin/ssh/unittests/kex/Makefile
index 6502c36db8e..6532cb00a6a 100644
--- a/regress/usr.bin/ssh/unittests/kex/Makefile
+++ b/regress/usr.bin/ssh/unittests/kex/Makefile
@@ -1,13 +1,14 @@
-# $OpenBSD: Makefile,v 1.1 2015/01/15 23:41:29 markus Exp $
+# $OpenBSD: Makefile,v 1.2 2015/01/24 10:39:21 miod Exp $
TEST_ENV= "MALLOC_OPTIONS=AFGJPRX"
PROG=test_kex
SRCS=tests.c test_kex.c
-LDADD=-lz
REGRESS_TARGETS=run-regress-${PROG}
run-regress-${PROG}: ${PROG}
env ${TEST_ENV} ./${PROG}
.include <bsd.regress.mk>
+
+LDADD+=-lz