summaryrefslogtreecommitdiffstats
path: root/package/attr
diff options
context:
space:
mode:
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>2012-11-17 12:24:07 +0000
committerPeter Korsgaard <jacmet@sunsite.dk>2012-11-17 23:49:20 +0100
commit5ad2879a8bca386fa5c256a4286ccc928601cc1a (patch)
tree07b5a9c4e52ac8648c4d9e65602c7c116fe252b2 /package/attr
parent5995d68f953aa0066eeaa245e2db52cc147de0d5 (diff)
downloadbuildroot-novena-5ad2879a8bca386fa5c256a4286ccc928601cc1a.tar.gz
buildroot-novena-5ad2879a8bca386fa5c256a4286ccc928601cc1a.zip
attr: fix static build
Fixes: http://autobuild.buildroot.org/results/58a3d4113172813183d43fddc1248b35bd0c4994/build-end.log Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/attr')
-rw-r--r--package/attr/attr-0001-attr-Fix-static-build-installation.patch30
1 files changed, 30 insertions, 0 deletions
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 000000000..ed51dbb4d
--- /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 <thomas.petazzoni@free-electrons.com>
+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 <thomas.petazzoni@free-electrons.com>
+---
+ 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
+