Don't depend on shared library dependencies; we also need -lpuffs here.

This allows us to link statically.
This commit is contained in:
he 2010-09-23 09:40:23 +00:00
parent 0549224c7a
commit 44b7889673
1 changed files with 3 additions and 3 deletions

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.2 2009/06/25 13:47:11 agc Exp $
# $NetBSD: Makefile,v 1.3 2010/09/23 09:40:23 he Exp $
.sinclude "${.CURDIR}/../Makefile.inc"
@ -11,8 +11,8 @@ ISCSIDIST= ${.CURDIR}/../dist
PROG=iscsi-initiator
SRCS=iscsi-initiator.c virtdir.c libkmod.c
LDADD+= -lrefuse -liscsi
DPADD+= ${LIBREFUSE} ${LIBISCSI}
LDADD+= -lrefuse -liscsi -lpuffs
DPADD+= ${LIBREFUSE} ${LIBISCSI} ${LIBPUFFS}
CPPFLAGS+= -I${ISCSIDIST}/include
CPPFLAGS+= -pthread
LDFLAGS+= -pthread