summaryrefslogtreecommitdiffstats
path: root/package/libarchive/libarchive.mk
diff options
context:
space:
mode:
Diffstat (limited to 'package/libarchive/libarchive.mk')
-rw-r--r--package/libarchive/libarchive.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/package/libarchive/libarchive.mk b/package/libarchive/libarchive.mk
index 472e34bd4..32f68f740 100644
--- a/package/libarchive/libarchive.mk
+++ b/package/libarchive/libarchive.mk
@@ -10,4 +10,8 @@ LIBARCHIVE_LIBTOOL_PATCH = NO
LIBARCHIVE_INSTALL_STAGING = YES
LIBARCHIVE_INSTALL_TARGET = YES
+LIBARCHIVE_CONF_OPT = \
+ $(if $(BR2_PACKAGE_LIBARCHIVE_BSDTAR),--enable-bsdtar,--disable-bsdtar) \
+ $(if $(BR2_PACKAGE_LIBARCHIVE_BSDCPIO),--enable-bsdcpio,--disable-bsdcpio)
+
$(eval $(call AUTOTARGETS,package,libarchive))