Browse Source

miredo: Makefile fixes

* Move CONFIGURE blocks after description
* Fix build with libcap

Signed-off-by: Nikita Vostokov <yawosk@yandex.com>
lilik-openwrt-22.03
Nikita Vostokov 5 years ago
parent
commit
5db9091a17
1 changed files with 18 additions and 14 deletions
  1. +18
    -14
      ipv6/miredo/Makefile

+ 18
- 14
ipv6/miredo/Makefile View File

@ -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/


Loading…
Cancel
Save