[3/3] package/nodejs: use shared libuv if available

Submitted by Martin Bark on July 15, 2017, 5:38 p.m.

Details

Message ID 1500140309-26534-3-git-send-email-martin@barkynet.com
State Superseded
Headers show

Commit Message

Martin Bark July 15, 2017, 5:38 p.m.
Signed-off-by: Martin Bark <martin@barkynet.com>
---
 package/nodejs/nodejs.mk | 5 +++++
 1 file changed, 5 insertions(+)

Patch hide | download patch | download mbox

diff --git a/package/nodejs/nodejs.mk b/package/nodejs/nodejs.mk
index ba7ad3f..d229d75 100644
--- a/package/nodejs/nodejs.mk
+++ b/package/nodejs/nodejs.mk
@@ -44,6 +44,11 @@  NODEJS_DEPENDENCIES += libhttpparser
 NODEJS_CONF_OPTS += --shared-http-parser
 endif
 
+ifeq ($(BR2_PACKAGE_LIBUV),y)
+NODEJS_DEPENDENCIES += libuv
+NODEJS_CONF_OPTS += --shared-libuv
+endif
+
 ifneq ($(BR2_PACKAGE_NODEJS_NPM),y)
 NODEJS_CONF_OPTS += --without-npm
 endif