summaryrefslogtreecommitdiff
path: root/regress
diff options
context:
space:
mode:
authormiod@openbsd.org <miod@openbsd.org>2015-01-24 10:39:21 +0000
committerDamien Miller <djm@mindrot.org>2015-01-27 00:03:30 +1100
commit7dd355fb1f0038a3d5cdca57ebab4356c7a5b434 (patch)
treeff7639ca48d07816c145daaf95036d436c365cf1 /regress
parent0dad3b806fddb93c475b30853b9be1a25d673a33 (diff)
upstream commit
Move -lz late in the linker commandline for things to build on static arches.
Diffstat (limited to 'regress')
-rw-r--r--regress/unittests/kex/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/regress/unittests/kex/Makefile b/regress/unittests/kex/Makefile
index 6502c36db..6532cb00a 100644
--- a/regress/unittests/kex/Makefile
+++ b/regress/unittests/kex/Makefile
@@ -1,13 +1,14 @@
1# $OpenBSD: Makefile,v 1.1 2015/01/15 23:41:29 markus Exp $ 1# $OpenBSD: Makefile,v 1.2 2015/01/24 10:39:21 miod Exp $
2 2
3TEST_ENV= "MALLOC_OPTIONS=AFGJPRX" 3TEST_ENV= "MALLOC_OPTIONS=AFGJPRX"
4 4
5PROG=test_kex 5PROG=test_kex
6SRCS=tests.c test_kex.c 6SRCS=tests.c test_kex.c
7LDADD=-lz
8REGRESS_TARGETS=run-regress-${PROG} 7REGRESS_TARGETS=run-regress-${PROG}
9 8
10run-regress-${PROG}: ${PROG} 9run-regress-${PROG}: ${PROG}
11 env ${TEST_ENV} ./${PROG} 10 env ${TEST_ENV} ./${PROG}
12 11
13.include <bsd.regress.mk> 12.include <bsd.regress.mk>
13
14LDADD+=-lz