Skip to content

Commit

Permalink
nodejs: change default PACKAGECONFIG
Browse files Browse the repository at this point in the history
Using shared libraries seems a more appropriate default for yocto. Space
and memory constrains could benefit, plus the security maintenance is
focused on the system library.

Signed-off-by: Stefan Müller-Klieser <s.mueller-klieser@phytec.de>
  • Loading branch information
smk-embedded authored and imyller committed Apr 20, 2017
1 parent 0ce6a55 commit 5a254a8
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions recipes-devtools/nodejs/nodejs_4.inc
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ ARCHFLAGS ?= ""

GYP_DEFINES_append_mipsel = " mips_arch_variant='r1' "

PACKAGECONFIG ??= "zlib openssl"

PACKAGECONFIG[zlib] = "--shared-zlib,,zlib"
PACKAGECONFIG[openssl] = "--shared-openssl,,openssl"

Expand Down
2 changes: 1 addition & 1 deletion recipes-devtools/nodejs/nodejs_6.inc
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ ARCHFLAGS ?= ""

GYP_DEFINES_append_mipsel = " mips_arch_variant='r1' "

PACKAGECONFIG ??= ""
PACKAGECONFIG ??= "zlib openssl"

PACKAGECONFIG[zlib] = "--shared-zlib,,zlib,"
PACKAGECONFIG[openssl] = "--shared-openssl,,openssl,"
Expand Down
2 changes: 1 addition & 1 deletion recipes-devtools/nodejs/nodejs_7.inc
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ ARCHFLAGS ?= ""

GYP_DEFINES_append_mipsel = " mips_arch_variant='r1' "

PACKAGECONFIG ??= ""
PACKAGECONFIG ??= "zlib openssl"

PACKAGECONFIG[zlib] = "--shared-zlib,,zlib,"
PACKAGECONFIG[openssl] = "--shared-openssl,,openssl,"
Expand Down

0 comments on commit 5a254a8

Please sign in to comment.