diff options
author | miod@openbsd.org <miod@openbsd.org> | 2015-01-24 10:39:21 +0000 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2015-01-27 00:03:30 +1100 |
commit | 7dd355fb1f0038a3d5cdca57ebab4356c7a5b434 (patch) | |
tree | ff7639ca48d07816c145daaf95036d436c365cf1 /regress/unittests/kex/Makefile | |
parent | 0dad3b806fddb93c475b30853b9be1a25d673a33 (diff) |
upstream commit
Move -lz late in the linker commandline for things to
build on static arches.
Diffstat (limited to 'regress/unittests/kex/Makefile')
-rw-r--r-- | regress/unittests/kex/Makefile | 5 |
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 | ||
3 | TEST_ENV= "MALLOC_OPTIONS=AFGJPRX" | 3 | TEST_ENV= "MALLOC_OPTIONS=AFGJPRX" |
4 | 4 | ||
5 | PROG=test_kex | 5 | PROG=test_kex |
6 | SRCS=tests.c test_kex.c | 6 | SRCS=tests.c test_kex.c |
7 | LDADD=-lz | ||
8 | REGRESS_TARGETS=run-regress-${PROG} | 7 | REGRESS_TARGETS=run-regress-${PROG} |
9 | 8 | ||
10 | run-regress-${PROG}: ${PROG} | 9 | run-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 | |||
14 | LDADD+=-lz | ||