Skip to contentSkip to conversation

nodejs: Enable system ICU support

PATCH New Khem Raj 1 participant 1 message Oct 14, 2018

lore
Share & tools
lore

Khem Raj

author
#0 lore raw

PATCH 1/1 nodejs: Enable system ICU support

Latest Chromium needs it during build

---
 meta-oe/recipes-devtools/nodejs/nodejs_8.12.0.bb | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)
meta-oe/recipes-devtools/nodejs/nodejs_8.12.0.bb +4 -2
index e3b46bc2c8..8c3397821e 100644
@@ -3,7 +3,9 @@ HOMEPAGE = "http://nodejs.org"
 LICENSE = "MIT & BSD & Artistic-2.0"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=fde91d5c5bbd1e0389623e1ac018d9e8"
 
-DEPENDS = "openssl zlib"
+DEPENDS = "openssl 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}
Signature · 1 line
2.19.1