attr-0001-attr-Fix-static-build-installation.patch 911 B

123456789101112131415161718192021222324252627282930
  1. From 1d510e6049e7c7cb7ed4e87780b2c1a997d47b64 Mon Sep 17 00:00:00 2001
  2. From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
  3. Date: Sat, 17 Nov 2012 19:36:39 +0100
  4. Subject: [PATCH] attr: Fix static build installation
  5. When doing a static build the .lai file is not created, so do not try
  6. to install it.
  7. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
  8. ---
  9. include/buildmacros | 3 +--
  10. 1 file changed, 1 insertion(+), 2 deletions(-)
  11. diff --git a/include/buildmacros b/include/buildmacros
  12. index ab89182..d81e62b 100644
  13. --- a/include/buildmacros
  14. +++ b/include/buildmacros
  15. @@ -98,8 +98,7 @@ endif
  16. INSTALL_LTLIB_STATIC = \
  17. cd $(TOPDIR)/$(LIBNAME)/.libs; \
  18. - ../$(INSTALL) -m 755 -d $(PKG_DEVLIB_DIR); \
  19. - ../$(INSTALL) -m 644 -T old_lib $(LIBNAME).lai $(PKG_DEVLIB_DIR)
  20. + ../$(INSTALL) -m 755 -d $(PKG_DEVLIB_DIR);
  21. INSTALL_MAN = \
  22. @for d in $(MAN_PAGES); do \
  23. --
  24. 1.7.9.5