From patchwork Sat Jan 19 12:06:25 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gustavo Zacarias X-Patchwork-Id: 213834 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from whitealder.osuosl.org (whitealder.osuosl.org [140.211.166.138]) by ozlabs.org (Postfix) with ESMTP id 8EF2B2C007B for ; Sat, 19 Jan 2013 23:06:43 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 9F7428CDF6; Sat, 19 Jan 2013 12:06:40 +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 TQ8Sb0n5SdX1; Sat, 19 Jan 2013 12:06:38 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by whitealder.osuosl.org (Postfix) with ESMTP id 10AA68CDEA; Sat, 19 Jan 2013 12:06:37 +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 7200C8F74B for ; Sat, 19 Jan 2013 12:06:43 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id C750D8CDEA for ; Sat, 19 Jan 2013 12:06:36 +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 LjSshIdsX4RA for ; Sat, 19 Jan 2013 12:06:35 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from loknar.toptech.com.ar (loknar.toptech.com.ar [78.46.79.162]) by whitealder.osuosl.org (Postfix) with ESMTPS id A32E88CDC8 for ; Sat, 19 Jan 2013 12:06:34 +0000 (UTC) Received: from asgard (host110.190-225-90.telecom.net.ar [190.225.90.110]) (authenticated bits=0) by loknar.toptech.com.ar (8.14.5/8.14.5) with ESMTP id r0JC6Q7S018299 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 19 Jan 2013 12:06:29 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=zacarias.com.ar; s=dkey; t=1358597191; bh=E/5S0S9yuYNW3knl1phvuYeRF0PMMRSfjuJTKyMyVro=; h=From:To:Cc:Subject:Date; b=YnqExTMKV5yzAnSKsT3GZRHCXu9eLtlguavJoMr2LoIjEgz1m8SL98Xdg+NFdNoqD G+TIqm7Vt8cJrjTDrTypxUB43JPuCLO8JPfZ0i92gXhqDXtxBJaxKRMoM/s4bloHG1 6/vmI4GJv0KfLX+JMXQTs0xKlbvPzXzIgV8lH89Q= Received: by asgard (sSMTP sendmail emulation); Sat, 19 Jan 2013 09:06:25 -0300 From: Gustavo Zacarias To: buildroot@busybox.net Date: Sat, 19 Jan 2013 09:06:25 -0300 Message-Id: <1358597185-7602-1-git-send-email-gustavo@zacarias.com.ar> X-Mailer: git-send-email 1.7.12.4 X-Virus-Scanned: clamav-milter 0.97.5 at loknar X-Virus-Status: Clean Subject: [Buildroot] [PATCH] gettext: fix static build failure 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 When static libraries are preferred we don't build dynamic libraries so it fails on the install phase. So don't try to do it for those cases. Fixes: http://autobuild.buildroot.net/results/651537ae1909b039e0cfc5c104ee87f93a9e5792/ Signed-off-by: Gustavo Zacarias --- package/gettext/gettext.mk | 3 +++ 1 file changed, 3 insertions(+) diff --git a/package/gettext/gettext.mk b/package/gettext/gettext.mk index 953077d..204af10 100644 --- a/package/gettext/gettext.mk +++ b/package/gettext/gettext.mk @@ -35,9 +35,12 @@ endif # When the gettext tools are not enabled in the configuration, we only # install libintl to the target. ifeq ($(BR2_PACKAGE_GETTEXT_TOOLS),) +# When static libs are preferred the .so files aren't created +ifeq ($(BR2_PREFER_STATIC_LIB),) define GETTEXT_INSTALL_TARGET_CMDS cp -dpf $(STAGING_DIR)/usr/lib/libintl*.so* $(TARGET_DIR)/usr/lib/ endef +endif # Ditch the tools since they're off and pull other dependencies define GETTEXT_DISABLE_TOOLS $(SED) 's/runtime gettext-tools/runtime/' $(@D)/Makefile.in