[packages] make libintl and libiconv stub/full implementations switchable, use the...
[openwrt/svn-archive/archive.git] / net / ettercap / Makefile
index f60a79bfae2dccce7123da4aef2cb621743407e1..5c70c2d8c212da799f6ffc543472404cb185273a 100644 (file)
@@ -20,6 +20,7 @@ PKG_INSTALL:=1
 PKG_BUILD_PARALLEL:=1
 
 include $(INCLUDE_DIR)/package.mk
+include $(INCLUDE_DIR)/nls.mk
 
 define Package/ettercap
   SECTION:=net
@@ -51,7 +52,7 @@ CONFIGURE_ARGS += \
        --with-libnet="$(STAGING_DIR)/usr/lib/libnet-1.1.x" \
        --with-openssl="$(STAGING_DIR)/usr" \
        --with-libpcre="$(STAGING_DIR)/usr" \
-       --with-iconv="$(STAGING_DIR)/usr" \
+       --with-iconv="$(ICONV_PREFIX)" \
        --with-libncurses="$(STAGING_DIR)/usr" \
        --disable-gtk \
        --disable-debug \