mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-02 13:59:59 +00:00
nodejs: allow use of system c-ares (and make default)
Use system c-ares via PACKAGECONFIG by default. So far, nodejs had been built using its embedded copy of c-ares, which we generally try to avoid, for the known reasons (independent updates, cve & license checks, etc). Notes: * otherwise nodejs uses its bundled version of c-ares * the PACKAGECONFIG variable is 'ares' so as to be in line with other uses of this (wget & curl recipes in OE core) Signed-off-by: André Draszik <git@andred.net> Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
@@ -52,9 +52,10 @@ ARCHFLAGS_arm = "${@bb.utils.contains('TUNE_FEATURES', 'callconvention-hard', '-
|
|||||||
GYP_DEFINES_append_mipsel = " mips_arch_variant='r1' "
|
GYP_DEFINES_append_mipsel = " mips_arch_variant='r1' "
|
||||||
ARCHFLAGS ?= ""
|
ARCHFLAGS ?= ""
|
||||||
|
|
||||||
PACKAGECONFIG ??= "zlib icu"
|
PACKAGECONFIG ??= "ares icu zlib"
|
||||||
PACKAGECONFIG[zlib] = "--shared-zlib,,zlib"
|
PACKAGECONFIG[ares] = "--shared-cares,,c-ares"
|
||||||
PACKAGECONFIG[icu] = "--with-intl=system-icu,--without-intl,icu"
|
PACKAGECONFIG[icu] = "--with-intl=system-icu,--without-intl,icu"
|
||||||
|
PACKAGECONFIG[zlib] = "--shared-zlib,,zlib"
|
||||||
|
|
||||||
# Node is way too cool to use proper autotools, so we install two wrappers to forcefully inject proper arch cflags to workaround gypi
|
# Node is way too cool to use proper autotools, so we install two wrappers to forcefully inject proper arch cflags to workaround gypi
|
||||||
do_configure () {
|
do_configure () {
|
||||||
|
|||||||
Reference in New Issue
Block a user