From 99657499286d1c8e13d8fbb5f82ee0f795cf476d Mon Sep 17 00:00:00 2001 From: miod Date: Sat, 24 Jan 2015 10:39:21 +0000 Subject: [PATCH] Move -lz late in the linker commandline for things to build on static arches. --- regress/usr.bin/ssh/unittests/kex/Makefile | 5 +++-- 1 file 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 + +LDADD+=-lz -- 2.20.1