From patchwork Thu Aug 21 13:56:07 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Romain Naour X-Patchwork-Id: 381973 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from fraxinus.osuosl.org (fraxinus.osuosl.org [140.211.166.137]) by ozlabs.org (Postfix) with ESMTP id 14B981400D6 for ; Thu, 21 Aug 2014 23:56:26 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 4FD938AF7A; Thu, 21 Aug 2014 13:56:25 +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 VlFGuF2lg51g; Thu, 21 Aug 2014 13:56:23 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by fraxinus.osuosl.org (Postfix) with ESMTP id A1E2089646; Thu, 21 Aug 2014 13:56:23 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (whitealder.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id 25ED51BFA63 for ; Thu, 21 Aug 2014 13:56:20 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 213E687819 for ; Thu, 21 Aug 2014 13:56:20 +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 X9UxbiAKmqC7 for ; Thu, 21 Aug 2014 13:56:19 +0000 (UTC) X-Greylist: whitelisted by SQLgrey-1.7.6 Received: from smtp6-g21.free.fr (smtp6-g21.free.fr [212.27.42.6]) by whitealder.osuosl.org (Postfix) with ESMTPS id 7F3B688E01 for ; Thu, 21 Aug 2014 13:56:19 +0000 (UTC) Received: from localhost.localdomain (unknown [81.57.22.125]) by smtp6-g21.free.fr (Postfix) with ESMTP id 35F568227B; Thu, 21 Aug 2014 15:56:18 +0200 (CEST) From: Romain Naour To: buildroot@buildroot.net Date: Thu, 21 Aug 2014 15:56:07 +0200 Message-Id: <1408629367-7336-2-git-send-email-romain.naour@openwide.fr> X-Mailer: git-send-email 1.9.3 In-Reply-To: <1408629367-7336-1-git-send-email-romain.naour@openwide.fr> References: <1408629367-7336-1-git-send-email-romain.naour@openwide.fr> Subject: [Buildroot] [PATCH 2/2] package/procps-ng: fix linking with intl 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 procps-ng doesn't build with (e)glibc toolchain when gettext package is selected. With (e)glibc libintl is provided by the libc whereas with uClibc it's provided by gettext. Linking with intl is only needed if the toolchain needs gettext and locale is set. Fixes: http://autobuild.buildroot.net/results/3e8/3e8464e0b00ce22fa02a6337159fca250d86425c/build-end.log Signed-off-by: Romain Naour Tested-by: Vicente Olivert Riera --- package/procps-ng/procps-ng.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/procps-ng/procps-ng.mk b/package/procps-ng/procps-ng.mk index 7628c21..8f9caf3 100644 --- a/package/procps-ng/procps-ng.mk +++ b/package/procps-ng/procps-ng.mk @@ -12,7 +12,7 @@ PROCPS_NG_LICENSE_FILES = COPYING COPYING.LIB PROCPS_NG_DEPENDENCIES = ncurses -ifeq ($(BR2_PACKAGE_GETTEXT),y) +ifeq ($(BR2_NEEDS_GETTEXT_IF_LOCALE),y) PROCPS_NG_DEPENDENCIES += gettext PROCPS_NG_CONF_OPT += LIBS=-lintl endif