Browse Source

Merge pull request #236 from ejonny/libarchive-reduce-dependencies

libarchive: Reduce dependencies by disabling them using configure args
lilik-openwrt-22.03
sbyx 10 years ago
parent
commit
1310ac5896
1 changed files with 9 additions and 1 deletions
  1. +9
    -1
      libs/libarchive/Makefile

+ 9
- 1
libs/libarchive/Makefile View File

@ -30,7 +30,7 @@ endef
define Package/libarchive
$(call Package/libarchive/Default)
DEPENDS:=+libxml2 +libopenssl +zlib +libacl +libattr +libbz2 +liblzo +libnettle
DEPENDS:=+libopenssl +zlib
TITLE:=Multi-format archive and compression library
endef
@ -38,6 +38,14 @@ define Package/libarchive/description
Multi-format archive and compression library.
endef
CONFIGURE_ARGS += \
--disable-acl \
--disable-xattr \
--without-bz2lib \
--without-lzo2 \
--without-nettle \
--without-xml2
define Build/InstallDev
$(INSTALL_DIR) $(1)
$(CP) $(PKG_INSTALL_DIR)/* $(1)/


Loading…
Cancel
Save