From patchwork Sat Nov 17 22:24:07 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thomas Petazzoni X-Patchwork-Id: 199885 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 C13F12C0086 for ; Sun, 18 Nov 2012 09:27:19 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 0A7B18D21D; Sat, 17 Nov 2012 22:27:18 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org X-Amavis-Alert: BAD HEADER SECTION, Duplicate header field: "References" Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id t4Ir78RwhBhR; Sat, 17 Nov 2012 22:27:07 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by whitealder.osuosl.org (Postfix) with ESMTP id BF1798D31E; Sat, 17 Nov 2012 22:26:28 +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 1D2648F75B for ; Sat, 17 Nov 2012 22:25:55 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 91E658CDE5 for ; Sat, 17 Nov 2012 22:25:50 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org X-Amavis-Alert: BAD HEADER SECTION, Duplicate header field: "References" Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ECiVmgjofEvG for ; Sat, 17 Nov 2012 22:25:39 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail.free-electrons.com (mail.free-electrons.com [88.190.12.23]) by whitealder.osuosl.org (Postfix) with ESMTP id 456B18BDA1 for ; Sat, 17 Nov 2012 22:25:21 +0000 (UTC) Received: by mail.free-electrons.com (Postfix, from userid 106) id B082B186; Sat, 17 Nov 2012 23:25:14 +0100 (CET) Received: from localhost (46.130.200.77.rev.sfr.net [77.200.130.46]) by mail.free-electrons.com (Postfix) with ESMTPSA id C23E4DB for ; Sat, 17 Nov 2012 23:25:06 +0100 (CET) From: Thomas Petazzoni To: buildroot@busybox.net Date: Sat, 17 Nov 2012 23:24:07 +0100 Message-Id: <8d67b671b3a24be1156ae115c84db70a7a48e3fc.1353191025.git.thomas.petazzoni@free-electrons.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: References: In-Reply-To: References: Subject: [Buildroot] [PATCH 09/10] attr: fix 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.org/results/58a3d4113172813183d43fddc1248b35bd0c4994/build-end.log Signed-off-by: Thomas Petazzoni --- ...r-0001-attr-Fix-static-build-installation.patch | 30 ++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 package/attr/attr-0001-attr-Fix-static-build-installation.patch diff --git a/package/attr/attr-0001-attr-Fix-static-build-installation.patch b/package/attr/attr-0001-attr-Fix-static-build-installation.patch new file mode 100644 index 0000000..ed51dbb --- /dev/null +++ b/package/attr/attr-0001-attr-Fix-static-build-installation.patch @@ -0,0 +1,30 @@ +From 1d510e6049e7c7cb7ed4e87780b2c1a997d47b64 Mon Sep 17 00:00:00 2001 +From: Thomas Petazzoni +Date: Sat, 17 Nov 2012 19:36:39 +0100 +Subject: [PATCH] attr: Fix static build installation + +When doing a static build the .lai file is not created, so do not try +to install it. + +Signed-off-by: Thomas Petazzoni +--- + include/buildmacros | 3 +-- + 1 file changed, 1 insertion(+), 2 deletions(-) + +diff --git a/include/buildmacros b/include/buildmacros +index ab89182..d81e62b 100644 +--- a/include/buildmacros ++++ b/include/buildmacros +@@ -98,8 +98,7 @@ endif + + INSTALL_LTLIB_STATIC = \ + cd $(TOPDIR)/$(LIBNAME)/.libs; \ +- ../$(INSTALL) -m 755 -d $(PKG_DEVLIB_DIR); \ +- ../$(INSTALL) -m 644 -T old_lib $(LIBNAME).lai $(PKG_DEVLIB_DIR) ++ ../$(INSTALL) -m 755 -d $(PKG_DEVLIB_DIR); + + INSTALL_MAN = \ + @for d in $(MAN_PAGES); do \ +-- +1.7.9.5 +