diff options
author | André Draszik <git@andred.net> | 2019-10-29 18:35:08 +0000 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2019-11-01 17:22:52 -0700 |
commit | 8337a8bb1a2365a64c42f2c9f3e0eef9b45070c9 (patch) | |
tree | 5723f1a8df38dfc0b07e277dde26aef737e5f6a3 /meta-oe/recipes-devtools/nodejs | |
parent | cbf7adb7acb7e41b0bf29c96d4e0c0f905823430 (diff) | |
download | meta-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.bb | 3 |
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', '- | |||
51 | GYP_DEFINES_append_mipsel = " mips_arch_variant='r1' " | 51 | GYP_DEFINES_append_mipsel = " mips_arch_variant='r1' " |
52 | ARCHFLAGS ?= "" | 52 | ARCHFLAGS ?= "" |
53 | 53 | ||
54 | PACKAGECONFIG ??= "ares icu zlib" | 54 | PACKAGECONFIG ??= "ares icu libuv zlib" |
55 | PACKAGECONFIG[ares] = "--shared-cares,,c-ares" | 55 | PACKAGECONFIG[ares] = "--shared-cares,,c-ares" |
56 | PACKAGECONFIG[icu] = "--with-intl=system-icu,--without-intl,icu" | 56 | PACKAGECONFIG[icu] = "--with-intl=system-icu,--without-intl,icu" |
57 | PACKAGECONFIG[libuv] = "--shared-libuv,,libuv" | ||
57 | PACKAGECONFIG[zlib] = "--shared-zlib,,zlib" | 58 | PACKAGECONFIG[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 |