fix ettercap compile
authorFelix Fietkau <nbd@openwrt.org>
Thu, 27 Dec 2007 13:01:52 +0000 (13:01 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Thu, 27 Dec 2007 13:01:52 +0000 (13:01 +0000)
SVN-Revision: 9960

net/ettercap/Makefile

index 8f802d2..a176013 100644 (file)
@@ -52,13 +52,14 @@ CONFIGURE_ARGS += \
        --with-libncurses="$(STAGING_DIR)/usr" \
        --disable-gtk \
        --disable-debug \
-       , \
-       LDFLAGS="$$$$LDFLAGS -L$(STAGING_DIR)/usr/lib/libiconv/lib -L$(STAGING_DIR)/usr/lib/" \
+       --enable-plugins
 
 MAKE_FLAGS += \
        DESTDIR="$(PKG_INSTALL_DIR)" \
+       AM_LDFLAGS="-L$(STAGING_DIR)/usr/lib/libiconv/lib" \
        all install
 
+
 define Package/ettercap/install
        $(INSTALL_DIR) $(1)/etc
        $(INSTALL_CONF) $(PKG_INSTALL_DIR)/etc/etter.conf $(1)/etc/