diff mbox series

[oe,meta-oe,rocko] nodejs: Enable system ICU support

Message ID 20181120153627.8304-1-raphael.kubo.da.costa@intel.com
State Superseded
Headers show
Series [oe,meta-oe,rocko] nodejs: Enable system ICU support | expand

Commit Message

Raphael Kubo da Costa Nov. 20, 2018, 3:36 p.m. UTC
From: Khem Raj <raj.khem@gmail.com>


Latest Chromium needs it during build

(cherry picked from commit d7d0cc5227d0dc7d3ff91ded9da841d65c3f3632)
(rocko cherry-pick note: the change was added to nodejs_8.4.0.bb rather than nodejs_8.12.0.bb)

Signed-off-by: Khem Raj <raj.khem@gmail.com>

Signed-off-by: Raphael Kubo da Costa <raphael.kubo.da.costa@intel.com>

---
 meta-oe/recipes-devtools/nodejs/nodejs_8.4.0.bb | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

-- 
2.19.1

-- 
_______________________________________________
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel
diff mbox series

Patch

diff --git a/meta-oe/recipes-devtools/nodejs/nodejs_8.4.0.bb b/meta-oe/recipes-devtools/nodejs/nodejs_8.4.0.bb
index 5bcbc0007..6280fe354 100644
--- a/meta-oe/recipes-devtools/nodejs/nodejs_8.4.0.bb
+++ b/meta-oe/recipes-devtools/nodejs/nodejs_8.4.0.bb
@@ -3,7 +3,9 @@  HOMEPAGE = "http://nodejs.org"
 LICENSE = "MIT & BSD & Artistic-2.0"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=e4d35c6120f175e1fbe5ff908b1cf2d6"
 
-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}