]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commitdiff
rsync: Add packageconfig to use system zlib
authorKhem Raj <raj.khem@gmail.com>
Wed, 8 Apr 2026 07:43:41 +0000 (00:43 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 13 Apr 2026 16:30:33 +0000 (17:30 +0100)
Enable using system zlib by default, avoid copies
and duplicate builds

Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/rsync/rsync_3.4.1.bb

index 6de30d337d0d2b0a62f93c36ddf73d1132b96045..2e4f9af31194fa13915c4b2c61fec2a572590067 100644 (file)
@@ -22,7 +22,7 @@ SRC_URI[sha256sum] = "2924bcb3a1ed8b551fc101f740b9f0fe0a202b115027647cf69850d65f
 # Doesn't use automake
 inherit autotools-brokensep
 
-PACKAGECONFIG ??= "acl attr \
+PACKAGECONFIG ??= "acl attr system-zlib \
     ${@bb.utils.filter('DISTRO_FEATURES', 'ipv6', d)} \
 "
 
@@ -33,6 +33,7 @@ PACKAGECONFIG[lz4] = "--enable-lz4,--disable-lz4,lz4"
 PACKAGECONFIG[openssl] = "--enable-openssl,--disable-openssl,openssl"
 PACKAGECONFIG[xxhash] = "--enable-xxhash,--disable-xxhash,xxhash"
 PACKAGECONFIG[zstd] = "--enable-zstd,--disable-zstd,zstd"
+PACKAGECONFIG[system-zlib] = "--with-included-zlib=no,--with-included-zlib=yes,zlib"
 
 # By default, if crosscompiling, rsync disables a number of
 # capabilities, hardlinking symlinks and special files (i.e. devices)