Fix libnetfilter-queue compilation under arm and cleanup makefile
authorFlorian Fainelli <florian@openwrt.org>
Sun, 28 Sep 2008 15:06:22 +0000 (15:06 +0000)
committerFlorian Fainelli <florian@openwrt.org>
Sun, 28 Sep 2008 15:06:22 +0000 (15:06 +0000)
SVN-Revision: 12762

libs/libnetfilter-queue/Makefile

index a5a20f4..46d9734 100644 (file)
@@ -40,14 +40,10 @@ CONFIGURE_ARGS += \
        LIBNFNETLINK_CFLAGS="-I$(STAGING_DIR)/usr/include" \
        LIBNFNETLINK_LIBS="-L$(STAGING_DIR)/usr/lib -L$(STAGING_DIR)/lib"
 
-MAKE_FLAGS += \
-       CFLAGS="$(TARGET_CFLAGS)"
-
-
 define Build/Compile
        $(MAKE) -C $(PKG_BUILD_DIR) \
                CFLAGS="$(TARGET_CFLAGS) -I$(STAGING_DIR)/usr/include" \
-               LDFLAGS="-L$(STAGING_DIR)/usr/lib -L$(STAGING_DIR)/lib" \
+               LDFLAGS="-L$(STAGING_DIR)/usr/lib -L$(STAGING_DIR)/lib -lc -L$(TOOLCHAIN_DIR)/lib" \
                DESTDIR="$(PKG_INSTALL_DIR)" \
                all install
 endef