Signed-off-by: Clemens Gruber <[email protected]>
---
rules/rsync3.in | 7 +++++++
rules/rsync3.make | 2 +-
2 files changed, 8 insertions(+), 1 deletion(-)
diff --git a/rules/rsync3.in b/rules/rsync3.in
index 7dc03a52e..0affd7661 100644
--- a/rules/rsync3.in
+++ b/rules/rsync3.in
@@ -7,6 +7,7 @@ menuconfig RSYNC3
select OPENSSH_SSH
select ACL if RSYNC3_ACL
select ATTR if RSYNC3_ATTR
+ select ZSTD if RSYNC3_ZSTD
help
rsync is a program that behaves in much the same way that rcp does,
but has many more options and uses the rsync remote-update protocol to
@@ -31,4 +32,10 @@ config RSYNC3_ATTR
prompt "enable extended attribute support"
help
--enable-xattr-support
+
+config RSYNC3_ZSTD
+ bool
+ prompt "enable zstd compression support"
+ help
+ --enable-zstd
endif
diff --git a/rules/rsync3.make b/rules/rsync3.make
index a585f6265..9c96dba76 100644
--- a/rules/rsync3.make
+++ b/rules/rsync3.make
@@ -42,7 +42,7 @@ RSYNC3_AUTOCONF := \
--disable-locale \
--disable-openssl \
--disable-xxhash \
- --disable-zstd \
+ --$(call ptx/endis, PTXCONF_ZSTD)-zstd \
--disable-lz4 \
--$(call ptx/endis, PTXCONF_ICONV)-iconv-open \
--$(call ptx/endis, PTXCONF_ICONV)-iconv \
--
2.28.0
_______________________________________________
ptxdist mailing list
[email protected]
To unsubscribe, send a mail with subject "unsubscribe" to
[email protected]