From patchwork Wed Aug 24 23:10:03 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnout Vandecappelle X-Patchwork-Id: 662603 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3sKNMY06YFz9snm for ; Thu, 25 Aug 2016 09:10:48 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 31DDB3157B; Wed, 24 Aug 2016 23:10:47 +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 it0LTtxr3q-k; Wed, 24 Aug 2016 23:10:42 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by silver.osuosl.org (Postfix) with ESMTP id 3CD4A3155F; Wed, 24 Aug 2016 23:10:42 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id 2111B1CF776 for ; Wed, 24 Aug 2016 23:10:41 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 1CDD88B7D2 for ; Wed, 24 Aug 2016 23:10:41 +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 IXD-+IWqmSBX for ; Wed, 24 Aug 2016 23:10:40 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from exchange.essensium.com (220.77.144.195.ipv4.evonet.be [195.144.77.220]) by whitealder.osuosl.org (Postfix) with ESMTPS id 4034A8B7CC for ; Wed, 24 Aug 2016 23:10:40 +0000 (UTC) Received: from vandecaa-laptop.fritz.box (10.3.7.11) by beleexch01.local.ess-mail.com (10.3.7.8) with Microsoft SMTP Server (TLS) id 15.0.847.32; Thu, 25 Aug 2016 01:10:23 +0200 From: "Arnout Vandecappelle (Essensium/Mind)" To: Date: Thu, 25 Aug 2016 01:10:03 +0200 Message-ID: <20160824231003.29262-2-arnout@mind.be> X-Mailer: git-send-email 2.9.3 In-Reply-To: <20160824231003.29262-1-arnout@mind.be> References: <20160824231003.29262-1-arnout@mind.be> MIME-Version: 1.0 X-Originating-IP: [10.3.7.11] X-ClientProxiedBy: beleexch01.local.ess-mail.com (10.3.7.8) To beleexch01.local.ess-mail.com (10.3.7.8) Subject: [Buildroot] [PATCH 2/2] package/iputils: link with -lintl 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: , Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" libgcrypt pulls in gpg-error which links with libintl if available. Since iputils doesn't use libtool, -lintl has to be passed explicitly for static builds. Fixes: http://autobuild.buildroot.net/results/f81/f81eabb37788aa6dcdadf4034889c84bef78b876 http://autobuild.buildroot.net/results/f29/f296e8fba1e79f96d3d119aa4c8207ed4b80694b http://autobuild.buildroot.net/results/478/478a88cd892a119970cfca717ea7f5517bfc4cea http://autobuild.buildroot.net/results/920/920d2d1d967691779f79fa54a38fac5adc5a8ee4 Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/iputils/iputils.mk | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/package/iputils/iputils.mk b/package/iputils/iputils.mk index d6398f7..47f3e28 100644 --- a/package/iputils/iputils.mk +++ b/package/iputils/iputils.mk @@ -26,6 +26,10 @@ endif IPUTILS_MAKE_OPTS = $(TARGET_CONFIGURE_OPTS) USE_SYSFS=no USE_IDN=no\ CFLAGS="$(TARGET_CFLAGS) -D_GNU_SOURCE" +ifeq ($(BR2_NEEDS_GETTEXT)$(BR2_PACKAGE_GETTEXT),yy) +IPUTILS_MAKE_OPTS += ADDLIB='-lintl' +endif + ifeq ($(BR2_PACKAGE_LIBCAP),y) IPUTILS_MAKE_OPTS += USE_CAP=yes IPUTILS_DEPENDENCIES += libcap