mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-14 05:49:57 +00:00
nodejs: Enable system ICU support
Latest Chromium needs it during build
(cherry picked from commit d7d0cc5227)
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>
This commit is contained in:
@@ -3,7 +3,9 @@ HOMEPAGE = "http://nodejs.org"
|
|||||||
LICENSE = "MIT & BSD & Artistic-2.0"
|
LICENSE = "MIT & BSD & Artistic-2.0"
|
||||||
LIC_FILES_CHKSUM = "file://LICENSE;md5=270f7477a1705f7cd3e29d3d4512915d"
|
LIC_FILES_CHKSUM = "file://LICENSE;md5=270f7477a1705f7cd3e29d3d4512915d"
|
||||||
|
|
||||||
DEPENDS = "openssl10 zlib"
|
DEPENDS = "openssl10 zlib icu"
|
||||||
|
|
||||||
|
inherit pkgconfig
|
||||||
|
|
||||||
COMPATIBLE_MACHINE_armv4 = "(!.*armv4).*"
|
COMPATIBLE_MACHINE_armv4 = "(!.*armv4).*"
|
||||||
COMPATIBLE_MACHINE_armv5 = "(!.*armv5).*"
|
COMPATIBLE_MACHINE_armv5 = "(!.*armv5).*"
|
||||||
@@ -44,7 +46,7 @@ do_configure () {
|
|||||||
export LD="${CXX}"
|
export LD="${CXX}"
|
||||||
GYP_DEFINES="${GYP_DEFINES}" export GYP_DEFINES
|
GYP_DEFINES="${GYP_DEFINES}" export GYP_DEFINES
|
||||||
# $TARGET_ARCH settings don't match --dest-cpu settings
|
# $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-cpu="${@map_nodejs_arch(d.getVar('TARGET_ARCH'), d)}" \
|
||||||
--dest-os=linux \
|
--dest-os=linux \
|
||||||
${ARCHFLAGS}
|
${ARCHFLAGS}
|
||||||
|
|||||||
Reference in New Issue
Block a user