diff options
author | Khem Raj <raj.khem@gmail.com> | 2018-11-20 16:40:41 +0100 |
---|---|---|
committer | Armin Kuster <akuster808@gmail.com> | 2019-01-07 08:26:53 -0800 |
commit | 4df445acf6a3717daa266f09db2da1651dee2bb1 (patch) | |
tree | 95e137c6e6abbc43a5edb0f6147e4962bbbd2b9d | |
parent | d2f00ee03e43b2fc6e93927895f0aab9d95c4407 (diff) | |
download | meta-openembedded-4df445acf6a3717daa266f09db2da1651dee2bb1.tar.gz |
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.bb | 6 |
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 8930cd902..132ee0f2b 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" | |||
3 | LICENSE = "MIT & BSD & Artistic-2.0" | 3 | LICENSE = "MIT & BSD & Artistic-2.0" |
4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=270f7477a1705f7cd3e29d3d4512915d" | 4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=270f7477a1705f7cd3e29d3d4512915d" |
5 | 5 | ||
6 | DEPENDS = "openssl10 zlib" | 6 | DEPENDS = "openssl10 zlib icu" |
7 | |||
8 | inherit pkgconfig | ||
7 | 9 | ||
8 | COMPATIBLE_MACHINE_armv4 = "(!.*armv4).*" | 10 | COMPATIBLE_MACHINE_armv4 = "(!.*armv4).*" |
9 | COMPATIBLE_MACHINE_armv5 = "(!.*armv5).*" | 11 | COMPATIBLE_MACHINE_armv5 = "(!.*armv5).*" |
@@ -44,7 +46,7 @@ do_configure () { | |||
44 | export LD="${CXX}" | 46 | export LD="${CXX}" |
45 | GYP_DEFINES="${GYP_DEFINES}" export GYP_DEFINES | 47 | GYP_DEFINES="${GYP_DEFINES}" export GYP_DEFINES |
46 | # $TARGET_ARCH settings don't match --dest-cpu settings | 48 | # $TARGET_ARCH settings don't match --dest-cpu settings |
47 | ./configure --prefix=${prefix} --without-intl --without-snapshot --shared-openssl --shared-zlib \ | 49 | ./configure --prefix=${prefix} --with-intl=system-icu --without-snapshot --shared-openssl --shared-zlib \ |
48 | --dest-cpu="${@map_nodejs_arch(d.getVar('TARGET_ARCH'), d)}" \ | 50 | --dest-cpu="${@map_nodejs_arch(d.getVar('TARGET_ARCH'), d)}" \ |
49 | --dest-os=linux \ | 51 | --dest-os=linux \ |
50 | ${ARCHFLAGS} | 52 | ${ARCHFLAGS} |