aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2018-11-20 16:40:41 +0100
committerArmin Kuster <akuster808@gmail.com>2019-01-07 08:24:45 -0800
commitbee4b6587cc05ac86899be723e5a2bf1c7d04c95 (patch)
tree95e137c6e6abbc43a5edb0f6147e4962bbbd2b9d
parent4fc4481c163ee6021774f01c0045690bcae5443a (diff)
downloadmeta-openembedded-contrib-bee4b6587cc05ac86899be723e5a2bf1c7d04c95.tar.gz
meta-openembedded-contrib-bee4b6587cc05ac86899be723e5a2bf1c7d04c95.tar.bz2
meta-openembedded-contrib-bee4b6587cc05ac86899be723e5a2bf1c7d04c95.zip
nodejs: Enable system ICU support
Latest Chromium needs it during build (cherry picked from commit d7d0cc5227d0dc7d3ff91ded9da841d65c3f3632) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Raphael Kubo da Costa <raphael.kubo.da.costa@intel.com> Signed-off-by: Armin Kuster <akuster808@gmail.com>
-rw-r--r--meta-oe/recipes-devtools/nodejs/nodejs_8.9.4.bb6
1 files changed, 4 insertions, 2 deletions
diff --git a/meta-oe/recipes-devtools/nodejs/nodejs_8.9.4.bb b/meta-oe/recipes-devtools/nodejs/nodejs_8.9.4.bb
index 8930cd9022..132ee0f2b3 100644
--- a/meta-oe/recipes-devtools/nodejs/nodejs_8.9.4.bb
+++ b/meta-oe/recipes-devtools/nodejs/nodejs_8.9.4.bb
@@ -3,7 +3,9 @@ HOMEPAGE = "http://nodejs.org"
LICENSE = "MIT & BSD & Artistic-2.0"
LIC_FILES_CHKSUM = "file://LICENSE;md5=270f7477a1705f7cd3e29d3d4512915d"
-DEPENDS = "openssl10 zlib"
+DEPENDS = "openssl10 zlib icu"
+
+inherit pkgconfig
COMPATIBLE_MACHINE_armv4 = "(!.*armv4).*"
COMPATIBLE_MACHINE_armv5 = "(!.*armv5).*"
@@ -44,7 +46,7 @@ do_configure () {
export LD="${CXX}"
GYP_DEFINES="${GYP_DEFINES}" export GYP_DEFINES
# $TARGET_ARCH settings don't match --dest-cpu settings
- ./configure --prefix=${prefix} --without-intl --without-snapshot --shared-openssl --shared-zlib \
+ ./configure --prefix=${prefix} --with-intl=system-icu --without-snapshot --shared-openssl --shared-zlib \
--dest-cpu="${@map_nodejs_arch(d.getVar('TARGET_ARCH'), d)}" \
--dest-os=linux \
${ARCHFLAGS}