[Buildroot] [PATCH] nodejs: Add dependency on zlib

Paul Cercueil paul at crapouillou.net
Sat Aug 9 13:38:37 UTC 2014


Dear Thomas,

Le 06/08/2014 20:15, Thomas Petazzoni a écrit :
> Dear Paul Cercueil,
>
> On Wed,  6 Aug 2014 00:57:22 +0200, Paul Cercueil wrote:
>
>> index a85384e..ff44e01 100644
>> --- a/package/nodejs/nodejs.mk
>> +++ b/package/nodejs/nodejs.mk
>> @@ -7,9 +7,9 @@
>>   NODEJS_VERSION = 0.10.12
>>   NODEJS_SOURCE = node-v$(NODEJS_VERSION).tar.gz
>>   NODEJS_SITE = http://nodejs.org/dist/v$(NODEJS_VERSION)
>> -NODEJS_DEPENDENCIES = host-python host-nodejs \
>> +NODEJS_DEPENDENCIES = host-python host-nodejs zlib \
>
> Ok.
>
>>       $(call qstrip,$(BR2_PACKAGE_NODEJS_MODULES_ADDITIONAL_DEPS))
>> -HOST_NODEJS_DEPENDENCIES = host-python
>> +HOST_NODEJS_DEPENDENCIES = host-python host-zlib
>
> So here you're adding host-zlib as a dependency of host-nodejs.
>
>>   NODEJS_LICENSE = MIT (core code); MIT, Apache and BSD family licenses (Bundled components)
>>   NODEJS_LICENSE_FILES = LICENSE
>>
>> @@ -69,6 +69,7 @@ define NODEJS_CONFIGURE_CMDS
>>   		$(HOST_DIR)/usr/bin/python2 ./configure \
>>   		--prefix=/usr \
>>   		--without-snapshot \
>> +		--shared-zlib \
>
> However here you're only adding --shared-zlib to the target nodejs
> configure options. Shouldn't --shared-zlib also be passed in
> HOST_NODEJS_CONFIGURE_CMDS ?

You are correct - I didn't see that one. I will shortly send a V2 patch 
then.

> Thanks!
>
> Thomas
>



More information about the buildroot mailing list