package/zeromq: fix libsodium support
PATCH 1/1 package/zeromq: fix libsodium support
From: Pieterjan Camerlynck <[email protected]>
Since zeromq 4.1.5, --with-libsodium no longer takes a prefix: the configure script only looks for libsodium (using pkg-config) when the option is exactly "yes". Passing --with-libsodium=$(STAGING_DIR)/usr therefore silently disabled libsodium, and zeromq fell back to its bundled tweetnacl for CURVE security. Since zeromq 4.3.5, tweetnacl is no longer bundled, so zeromq is now built without CURVE support at all.
Pass --with-libsodium without a value, and add host-pkgconf to the dependencies, as configure uses pkg-config to find libsodium.
Fixes bcb8e31e0d ("zeromq: bump to version 4.1.5")
Co-developed-by Aaron Hallaert <[email protected]>
Signed-off-by Aaron Hallaert <[email protected]>
Assisted-by Claude:claude-opus-5-5
Signed-off-by Pieterjan Camerlynck <[email protected]>
--- package/zeromq/zeromq.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
package/zeromq/zeromq.mk +2 -2
@@ -86,8 +86,8 @@ endif # ZeroMQ uses libsodium if it's available. ifeq ($(BR2_PACKAGE_LIBSODIUM),y) -ZEROMQ_DEPENDENCIES += libsodium -ZEROMQ_CONF_OPTS += --with-libsodium="$(STAGING_DIR)/usr" +ZEROMQ_DEPENDENCIES += host-pkgconf libsodium +ZEROMQ_CONF_OPTS += --with-libsodium else ZEROMQ_CONF_OPTS += --without-libsodium endif
Signature · 6 lines
2.56.0 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot