[packages] dsniff: fix compilation against librpc
authorJo-Philipp Wich <jow@openwrt.org>
Fri, 4 Mar 2011 07:57:16 +0000 (07:57 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Fri, 4 Mar 2011 07:57:16 +0000 (07:57 +0000)
SVN-Revision: 25861

net/dsniff/Makefile

index 6b64504..a26f6fe 100644 (file)
@@ -22,7 +22,7 @@ include $(INCLUDE_DIR)/package.mk
 define Package/dsniff
   SECTION:=net
   CATEGORY:=Network
-  DEPENDS:=+libpcap +libnids +libnet0 +libopenssl +libgdbm
+  DEPENDS:=+libpcap +libnids +libnet0 +libopenssl +libgdbm $(LIBRPC_DEPENDS)
   TITLE:=A collection of tools for network auditing and penetration testing
   URL:=http://www.monkey.org/~dugsong/dsniff/
 endef
@@ -31,6 +31,8 @@ define Package/dsniff/description
        A collection of tools for network auditing and penetration testing.
 endef
 
+TARGET_LDFLAGS += $(LIBRPC)
+
 define Build/Configure
        $(call Build/Configure/Default, \
                --with-gdbm="$(STAGING_DIR)/usr" \