package/nodejs: add icu support
Signed-off-by: Martin Bark <martin@barkynet.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
parent
65512bf8be
commit
7d0702a2bd
@ -17,6 +17,10 @@ ifeq ($(BR2_PACKAGE_OPENSSL),y)
|
|||||||
NODEJS_DEPENDENCIES += openssl
|
NODEJS_DEPENDENCIES += openssl
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
ifeq ($(BR2_PACKAGE_ICU),y)
|
||||||
|
NODEJS_DEPENDENCIES += icu
|
||||||
|
endif
|
||||||
|
|
||||||
# nodejs build system is based on python, but only support python-2.6 or
|
# nodejs build system is based on python, but only support python-2.6 or
|
||||||
# python-2.7. So, we have to enforce PYTHON interpreter to be python2.
|
# python-2.7. So, we have to enforce PYTHON interpreter to be python2.
|
||||||
define HOST_NODEJS_CONFIGURE_CMDS
|
define HOST_NODEJS_CONFIGURE_CMDS
|
||||||
@ -96,6 +100,7 @@ define NODEJS_CONFIGURE_CMDS
|
|||||||
--without-snapshot \
|
--without-snapshot \
|
||||||
--shared-zlib \
|
--shared-zlib \
|
||||||
$(if $(BR2_PACKAGE_OPENSSL),--shared-openssl,--without-ssl) \
|
$(if $(BR2_PACKAGE_OPENSSL),--shared-openssl,--without-ssl) \
|
||||||
|
$(if $(BR2_PACKAGE_ICU),--with-intl=system-icu,--with-intl=none) \
|
||||||
$(if $(BR2_PACKAGE_NODEJS_NPM),,--without-npm) \
|
$(if $(BR2_PACKAGE_NODEJS_NPM),,--without-npm) \
|
||||||
--without-dtrace \
|
--without-dtrace \
|
||||||
--without-etw \
|
--without-etw \
|
||||||
|
Loading…
Reference in New Issue
Block a user