[Buildroot] [PATCH v3 2/2] zeromq: depend on libsodium if available
Romain Naour
romain.naour at openwide.fr
Fri Jul 10 17:02:25 UTC 2015
Hi Frank,
Le 19/05/2015 14:01, Frank Hunleth a écrit :
> ZeroMQ doesn't require libsodium, but will enable CURVE security if it's
> available. This patch adds the optional dependency.
>
> Signed-off-by: Frank Hunleth <fhunleth at troodon-software.com>
Reviewed-by: Romain Naour <romain.naour at openwide.fr>
Best regards,
Romain Naour
> ---
> Changes v1 -> v2:
> - added patch to series
> Changes v2 -> v3:
> - no changes
>
> package/zeromq/zeromq.mk | 6 ++++++
> 1 file changed, 6 insertions(+)
>
> diff --git a/package/zeromq/zeromq.mk b/package/zeromq/zeromq.mk
> index 7e9ed19..a876d5e 100644
> --- a/package/zeromq/zeromq.mk
> +++ b/package/zeromq/zeromq.mk
> @@ -34,4 +34,10 @@ ZEROMQ_DEPENDENCIES += host-pkgconf openpgm
> ZEROMQ_CONF_OPTS += --with-system-pgm
> endif
>
> +# ZeroMQ uses libsodium if it's available.
> +ifeq ($(BR2_PACKAGE_LIBSODIUM), y)
> +ZEROMQ_DEPENDENCIES += libsodium
> +ZEROMQ_CONF_OPTS += --with-libsodium="$(STAGING_DIR)/usr"
> +endif
> +
> $(eval $(autotools-package))
> --
> 2.1.4
>
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot
>
More information about the buildroot
mailing list