From patchwork Sat Jul 15 17:38:28 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Martin Bark X-Patchwork-Id: 788952 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3x8xcc2lnnz9s8V for ; Sun, 16 Jul 2017 03:38:56 +1000 (AEST) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=barkynet-com.20150623.gappssmtp.com header.i=@barkynet-com.20150623.gappssmtp.com header.b="CfN8X6PL"; dkim-atps=neutral Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id EC75B88775; Sat, 15 Jul 2017 17:38:53 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id RcQW04JtnvZK; Sat, 15 Jul 2017 17:38:52 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by whitealder.osuosl.org (Postfix) with ESMTP id 5867E8878E; Sat, 15 Jul 2017 17:38:51 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) by ash.osuosl.org (Postfix) with ESMTP id 8F0511CEA53 for ; Sat, 15 Jul 2017 17:38:43 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 80A6F879B0 for ; Sat, 15 Jul 2017 17:38:43 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id OUfdWqkyYP1A for ; Sat, 15 Jul 2017 17:38:42 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wm0-f68.google.com (mail-wm0-f68.google.com [74.125.82.68]) by fraxinus.osuosl.org (Postfix) with ESMTPS id 955B987971 for ; Sat, 15 Jul 2017 17:38:42 +0000 (UTC) Received: by mail-wm0-f68.google.com with SMTP id p204so16099997wmg.1 for ; Sat, 15 Jul 2017 10:38:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=barkynet-com.20150623.gappssmtp.com; s=20150623; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references; bh=VoNyELb3+tgdFFp4gsmVV/xQBLc3UFzVvjg8Ugv0fzg=; b=CfN8X6PLpm26W2RVWs8UrQ47z2aT3SWw73rXFKdpl+YFw6k+QA2U4BC8oCH6aOi9Q8 3LBJ9dQ+NKKNj4ecz99y74NyY+E8IcQskXTPEck6frVZN+TqqXzZvgpEVH5inX/0NHXx CsXHLSy4cy/ZGE/bbwR6nj/dCQM+c7wySk9/vlbRsTGQbD4xhIRThVYD8WQMzovGifdk 2Sol0FCagRY2DYumTb8XniIuQYYkpsdG4i84PckaKgICuVc4avlOA+3QUO4t6PAIrEud 57+JYRgkxRRqkOWYXk2wDpG9dlaN6G14Gqr+5OtES/SSDXjyctf9tZpqakWyKjC5Sxz/ v+rA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references; bh=VoNyELb3+tgdFFp4gsmVV/xQBLc3UFzVvjg8Ugv0fzg=; b=Zr5rl6nyRAoqtBI6kS/C8BeeOAKw7TrBEXmZCI9WARPU2gN2W8YW53vK0zr6TRltEJ XAJ737PiJSvjIN5iOy9gbXE5eZFuFEKlikX0lsB43DJSqOm/LsVNEY0U3vDP1xoImoIw jntwR8fQsfj5v2uS3/lXA2j1ZWHFEiQZikLhav2OKMF9CPBOdkO/4U4g4mdy10ZvvR8H 9y+ut0/QcuK887NsqHIGnUJZ1cWLidp3eWHYJvDow4Udvv1AzMIR4CWp9Y4MGCTcHCX4 UFlhu/y8nLCAMaCNnBAuBVNslwWCh2pFK67vx7gnrGv1U3BF3VHaSCD0s/8HMGduWFsM lrKQ== X-Gm-Message-State: AIVw1128MovzE3KiCLViFtJh/ZXVdwPCPVLx3P8ROyGog9YGwtjHzHcj G+8mPxG7JD90dlXe/Fl1ZA== X-Received: by 10.28.228.134 with SMTP id b128mr1725769wmh.64.1500140320812; Sat, 15 Jul 2017 10:38:40 -0700 (PDT) Received: from mail.home.barkynet.com (barkynet.plus.com. [80.229.219.126]) by smtp.gmail.com with ESMTPSA id l186sm8126867wma.10.2017.07.15.10.38.39 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 15 Jul 2017 10:38:39 -0700 (PDT) Received: from krusty.home.barkynet.com (krusty.home.barkynet.com [192.168.1.10]) by mail.home.barkynet.com (Postfix) with ESMTP id 5EB8CED23B; Sat, 15 Jul 2017 18:38:38 +0100 (IST) Received: by krusty.home.barkynet.com (Postfix, from userid 10000) id 3D0B8C0EA9; Sat, 15 Jul 2017 18:38:36 +0100 (BST) From: Martin Bark To: buildroot@buildroot.org Date: Sat, 15 Jul 2017 18:38:28 +0100 Message-Id: <1500140309-26534-2-git-send-email-martin@barkynet.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1500140309-26534-1-git-send-email-martin@barkynet.com> References: <1500140309-26534-1-git-send-email-martin@barkynet.com> Cc: Martin Bark , Daniel Price Subject: [Buildroot] [PATCH 2/3] package/nodejs: use shared libhttpparser if available X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Signed-off-by: Martin Bark --- package/nodejs/nodejs.mk | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/package/nodejs/nodejs.mk b/package/nodejs/nodejs.mk index a469153..ba7ad3f 100644 --- a/package/nodejs/nodejs.mk +++ b/package/nodejs/nodejs.mk @@ -39,6 +39,11 @@ NODEJS_DEPENDENCIES += c-ares NODEJS_CONF_OPTS += --shared-cares endif +ifeq ($(BR2_PACKAGE_LIBHTTPPARSER),y) +NODEJS_DEPENDENCIES += libhttpparser +NODEJS_CONF_OPTS += --shared-http-parser +endif + ifneq ($(BR2_PACKAGE_NODEJS_NPM),y) NODEJS_CONF_OPTS += --without-npm endif