Move -lz late in the linker commandline for things to build on static arches.
authormiod <miod@openbsd.org>
Sat, 24 Jan 2015 10:39:21 +0000 (10:39 +0000)
committermiod <miod@openbsd.org>
Sat, 24 Jan 2015 10:39:21 +0000 (10:39 +0000)
regress/usr.bin/ssh/unittests/kex/Makefile

index 6502c36..6532cb0 100644 (file)
@@ -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