From patchwork Thu May 8 23:24:27 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnout Vandecappelle X-Patchwork-Id: 347277 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from silver.osuosl.org (silver.osuosl.org [140.211.166.136]) by ozlabs.org (Postfix) with ESMTP id 0198A1400CB for ; Fri, 9 May 2014 09:24:35 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 453CE328AB; Thu, 8 May 2014 23:24:35 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id mtPWuGVXwq-z; Thu, 8 May 2014 23:24:34 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by silver.osuosl.org (Postfix) with ESMTP id 31001269B4; Thu, 8 May 2014 23:24:34 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from silver.osuosl.org (silver.osuosl.org [140.211.166.136]) by ash.osuosl.org (Postfix) with ESMTP id A02601C244C for ; Thu, 8 May 2014 23:24:33 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 950E9269B4 for ; Thu, 8 May 2014 23:24:33 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id OxT+MGcVNYCG for ; Thu, 8 May 2014 23:24:33 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from viper.mind.be (132.79-246-81.adsl-static.isp.belgacom.be [81.246.79.132]) by silver.osuosl.org (Postfix) with ESMTPS id 033622640F for ; Thu, 8 May 2014 23:24:32 +0000 (UTC) Received: from [172.16.2.6] (helo=vandecaa-laptop) by viper.mind.be with esmtp (Exim 4.69) (envelope-from ) id 1WiXfy-0003jY-RS; Fri, 09 May 2014 01:24:31 +0200 Received: from arnout by vandecaa-laptop with local (Exim 4.82) (envelope-from ) id 1WiXfx-0000aQ-4h; Fri, 09 May 2014 01:24:29 +0200 From: "Arnout Vandecappelle (Essensium/Mind)" To: buildroot@buildroot.org Date: Fri, 9 May 2014 01:24:27 +0200 Message-Id: <1399591467-2219-1-git-send-email-arnout@mind.be> X-Mailer: git-send-email 2.0.0.rc2 Subject: [Buildroot] [PATCH] zeromq: explicitly add -lstdc++ for static build X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.14 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-bounces@busybox.net Fixes http://autobuild.buildroot.net/results/7c552e514f8c13ba8cdd420dc5bbf5edac915a83 Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/zeromq/zeromq.mk | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/package/zeromq/zeromq.mk b/package/zeromq/zeromq.mk index 7802916..c1eee3e 100644 --- a/package/zeromq/zeromq.mk +++ b/package/zeromq/zeromq.mk @@ -12,9 +12,15 @@ ZEROMQ_LICENSE = LGPLv3+ with exceptions ZEROMQ_LICENSE_FILES = COPYING COPYING.LESSER ZEROMQ_AUTORECONF = YES +# Only tools/curve_keygen.c needs this, but it doesn't hurt to pass it +# for the rest of the build as well (which automatically includes stdc++). +ifeq ($(BR2_PREFER_STATIC_LIB),y) + ZEROMQ_CONF_OPT += LIBS=-lstdc++ +endif + ifeq ($(BR2_PACKAGE_ZEROMQ_PGM),y) ZEROMQ_DEPENDENCIES += host-pkgconf openpgm - ZEROMQ_CONF_OPT = --with-system-pgm + ZEROMQ_CONF_OPT += --with-system-pgm endif $(eval $(autotools-package))