diff --git a/ipv6/miredo/Makefile b/ipv6/miredo/Makefile index b632540fe0..e3498a891c 100644 --- a/ipv6/miredo/Makefile +++ b/ipv6/miredo/Makefile @@ -21,20 +21,6 @@ PKG_LICENSE_FILES:=COPYING include $(INCLUDE_DIR)/package.mk -CONFIGURE_ARGS+= \ - --enable-shared \ - --enable-static \ - --disable-binreloc \ - --with-pic \ - --without-libiconv-prefix \ - --without-libintl-prefix - -TARGET_CFLAGS+= $(FPIC) \ - -ffunction-sections \ - -fdata-sections - -TARGET_LDFLAGS += -Wl,--gc-sections - define Package/miredo SECTION:=net CATEGORY:=Network @@ -50,6 +36,24 @@ define Package/miredo/description IPv6 connectivity even from behind NAT devices. endef +CONFIGURE_ARGS+= \ + --enable-shared \ + --enable-static \ + --disable-binreloc \ + --with-pic \ + --without-libiconv-prefix \ + --without-libintl-prefix + +CONFIGURE_VARS += \ + ac_cv_header_sys_capability_h=no + +TARGET_CFLAGS+= \ + $(FPIC) \ + -ffunction-sections \ + -fdata-sections + +TARGET_LDFLAGS += -Wl,--gc-sections + define Package/miredo/install $(INSTALL_DIR) $(1)/usr/lib $(CP) $(PKG_INSTALL_DIR)/usr/lib/*.so* $(1)/usr/lib/