summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-devtools/nodejs
diff options
context:
space:
mode:
authorAndré Draszik <git@andred.net>2019-10-29 18:35:08 +0000
committerKhem Raj <raj.khem@gmail.com>2019-11-01 17:22:52 -0700
commit8337a8bb1a2365a64c42f2c9f3e0eef9b45070c9 (patch)
tree5723f1a8df38dfc0b07e277dde26aef737e5f6a3 /meta-oe/recipes-devtools/nodejs
parentcbf7adb7acb7e41b0bf29c96d4e0c0f905823430 (diff)
downloadmeta-openembedded-8337a8bb1a2365a64c42f2c9f3e0eef9b45070c9.tar.gz
nodejs: allow use of system libuv (and make default)
Use system libuv via PACKAGECONFIG by default. So far, nodejs had been built using its embedded copy of libuv, which we generally try to avoid, for the known reasons (independent updates, cve & license checks, etc). Signed-off-by: André Draszik <git@andred.net> Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-oe/recipes-devtools/nodejs')
-rw-r--r--meta-oe/recipes-devtools/nodejs/nodejs_10.17.0.bb3
1 files changed, 2 insertions, 1 deletions
diff --git a/meta-oe/recipes-devtools/nodejs/nodejs_10.17.0.bb b/meta-oe/recipes-devtools/nodejs/nodejs_10.17.0.bb
index 58d3cce31..4afe341f9 100644
--- a/meta-oe/recipes-devtools/nodejs/nodejs_10.17.0.bb
+++ b/meta-oe/recipes-devtools/nodejs/nodejs_10.17.0.bb
@@ -51,9 +51,10 @@ ARCHFLAGS_arm = "${@bb.utils.contains('TUNE_FEATURES', 'callconvention-hard', '-
51GYP_DEFINES_append_mipsel = " mips_arch_variant='r1' " 51GYP_DEFINES_append_mipsel = " mips_arch_variant='r1' "
52ARCHFLAGS ?= "" 52ARCHFLAGS ?= ""
53 53
54PACKAGECONFIG ??= "ares icu zlib" 54PACKAGECONFIG ??= "ares icu libuv zlib"
55PACKAGECONFIG[ares] = "--shared-cares,,c-ares" 55PACKAGECONFIG[ares] = "--shared-cares,,c-ares"
56PACKAGECONFIG[icu] = "--with-intl=system-icu,--without-intl,icu" 56PACKAGECONFIG[icu] = "--with-intl=system-icu,--without-intl,icu"
57PACKAGECONFIG[libuv] = "--shared-libuv,,libuv"
57PACKAGECONFIG[zlib] = "--shared-zlib,,zlib" 58PACKAGECONFIG[zlib] = "--shared-zlib,,zlib"
58 59
59# Node is way too cool to use proper autotools, so we install two wrappers to forcefully inject proper arch cflags to workaround gypi 60# Node is way too cool to use proper autotools, so we install two wrappers to forcefully inject proper arch cflags to workaround gypi