From patchwork Mon Jul 27 10:06:24 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Angelo Compagnucci X-Patchwork-Id: 500307 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]) by ozlabs.org (Postfix) with ESMTP id 0E5D21402D9 for ; Mon, 27 Jul 2015 20:06:42 +1000 (AEST) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b=ZQZLotLV; dkim-atps=neutral Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 503A790BE1; Mon, 27 Jul 2015 10:06: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 K3XiKshGUZ97; Mon, 27 Jul 2015 10:06:39 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by whitealder.osuosl.org (Postfix) with ESMTP id 4F71790956; Mon, 27 Jul 2015 10:06:39 +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 A7DD71C0A72 for ; Mon, 27 Jul 2015 10:06:36 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id A3A77A2C33 for ; Mon, 27 Jul 2015 10:06:36 +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 RyZsNoFN9hp2 for ; Mon, 27 Jul 2015 10:06:36 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wi0-f172.google.com (mail-wi0-f172.google.com [209.85.212.172]) by fraxinus.osuosl.org (Postfix) with ESMTPS id E1B358860E for ; Mon, 27 Jul 2015 10:06:35 +0000 (UTC) Received: by wicgb10 with SMTP id gb10so104645168wic.1 for ; Mon, 27 Jul 2015 03:06:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id; bh=RvjnRwVdekjnfBj9rqLC7VYSIbkuEel1YbflLmNANPk=; b=ZQZLotLVunWUVQi3QYjy/DT95h6j/tvNfuWlnCSt5nXtpII/zxPl1Lxe6Adygg9OYq yJZY84gyejyyrrFFgDmhEZxC7uBxO/W+B2rx6fI8Emd23abeDQeem2c3gp2KRmglclZ+ yU6vrOKafVv9fhPIhb9ypTr03GynEK0omx5eNalOl3zOuBhvTNG010W19aacW5fAybcU VVFfZeGoQwMseZfiFRMg55rHHvpSAmJfsR0z6Bf91IGQw+iVwO9pT/Xj3R9fcVzMCT/5 YKevVVTj6a3WJZAsB3uRbO7ibeMnaoyOcTJbZIxYATKC1MzX5vHIW/cR+qlP00Edmkux L36w== X-Received: by 10.194.234.40 with SMTP id ub8mr53260718wjc.21.1437991594501; Mon, 27 Jul 2015 03:06:34 -0700 (PDT) Received: from localhost.localdomain (wim-ideas1.fastnet.it. [195.96.196.41]) by smtp.gmail.com with ESMTPSA id r19sm12772144wib.7.2015.07.27.03.06.32 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 27 Jul 2015 03:06:33 -0700 (PDT) From: Angelo Compagnucci To: buildroot@buildroot.org Date: Mon, 27 Jul 2015 12:06:24 +0200 Message-Id: <1437991584-27267-1-git-send-email-angelo.compagnucci@gmail.com> X-Mailer: git-send-email 1.9.1 Subject: [Buildroot] [PATCH v2] package/mono: fixing missing locale 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" This patch fixes compilation error in case of a missing locale in toolchain. Fixes: http://autobuild.buildroot.net/results/a0fc33a4ed90844f9529acc76a6ba183fe253771/ http://autobuild.buildroot.net/results/3ff839e894f0b8f9c2e3af9629d45e8efc09aecd/ http://autobuild.buildroot.net/results/5e11117048d965bc1fc44c738bb51f11164304af/ Signed-off-by: Angelo Compagnucci --- Changes: v1->v2: * Added libiconv mono dependency as suggested by Thomas package/mono/Config.in | 1 + package/mono/mono.mk | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/package/mono/Config.in b/package/mono/Config.in index 4445f4b..0c7129b 100644 --- a/package/mono/Config.in +++ b/package/mono/Config.in @@ -7,6 +7,7 @@ config BR2_PACKAGE_MONO bool "mono" depends on BR2_PACKAGE_MONO_ARCH_SUPPORTS depends on BR2_TOOLCHAIN_HAS_THREADS + select BR2_PACKAGE_LIBICONV if !BR2_ENABLE_LOCALE help An open source, cross-platform, implementation of C# and the CLR that is binary compatible with Microsoft.NET. diff --git a/package/mono/mono.mk b/package/mono/mono.mk index 9cb8564..8668aa0 100644 --- a/package/mono/mono.mk +++ b/package/mono/mono.mk @@ -36,6 +36,10 @@ endef MONO_POST_INSTALL_TARGET_HOOKS += MONO_INSTALL_LIBS +ifeq ($(BR2_PACKAGE_LIBICONV),y) +MONO_DEPENDENCIES += libiconv +endif + MONO_DEPENDENCIES += host-mono ## Mono managed