Add LDADD+= and DPADD+= settings so that this builds on sun2 as well,
where we can't rely on shared libraries expressing the needs of the program.
This commit is contained in:
parent
9c2bd94081
commit
8cce58a8c3
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.1.1.1 2009/04/23 06:31:55 agc Exp $
|
||||
# $NetBSD: Makefile,v 1.2 2009/05/17 11:38:42 he Exp $
|
||||
|
||||
.include <bsd.own.mk>
|
||||
|
||||
|
@ -11,6 +11,9 @@ LIBNETPGPDIR!= cd ${.CURDIR}/../lib && ${PRINTOBJDIR}
|
|||
LDADD+= -L${LIBNETPGPDIR} -lnetpgp
|
||||
DPADD+= ${LIBNETPGPDIR}/libnetpgp.a
|
||||
|
||||
LDADD+= -lcrypto -lz -lbz2
|
||||
DPADD+= ${LIBCRYPTO} ${LIBZ} ${LIBBZ2}
|
||||
|
||||
MAN= netpgp.1
|
||||
|
||||
# although the code is/was WARNS=4 clean, when linking, there is a warning
|
||||
|
|
Loading…
Reference in New Issue