upstream commit

Move -lz late in the linker commandline for things to
 build on static arches.
This commit is contained in:
miod@openbsd.org 2015-01-24 10:39:21 +00:00 committed by Damien Miller
parent 0dad3b806f
commit 7dd355fb1f
1 changed files with 3 additions and 2 deletions

View 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" TEST_ENV= "MALLOC_OPTIONS=AFGJPRX"
PROG=test_kex PROG=test_kex
SRCS=tests.c test_kex.c SRCS=tests.c test_kex.c
LDADD=-lz
REGRESS_TARGETS=run-regress-${PROG} REGRESS_TARGETS=run-regress-${PROG}
run-regress-${PROG}: ${PROG} run-regress-${PROG}: ${PROG}
env ${TEST_ENV} ./${PROG} env ${TEST_ENV} ./${PROG}
.include <bsd.regress.mk> .include <bsd.regress.mk>
LDADD+=-lz