[Buildroot] [PATCH 1/3] package/nodejs: use shared c-ares if available

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Sat Jul 15 19:44:47 UTC 2017


Hello,

On Sat, 15 Jul 2017 18:38:27 +0100, Martin Bark wrote:

> diff --git a/package/nodejs/nodejs.mk b/package/nodejs/nodejs.mk
> index 43c5ff3..a469153 100644
> --- a/package/nodejs/nodejs.mk
> +++ b/package/nodejs/nodejs.mk
> @@ -34,6 +34,11 @@ else
>  NODEJS_CONF_OPTS += --with-intl=none
>  endif
>  
> +ifeq ($(BR2_PACKAGE_C_ARES),y)
> +NODEJS_DEPENDENCIES += c-ares
> +NODEJS_CONF_OPTS += --shared-cares
> +endif

So what happens if BR2_PACKAGE_C_ARES is disabled? It is not
needed/used by nodejs, or some internal/built-in version is used?

Best regards,

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com



More information about the buildroot mailing list