Advertisement
svenhoefer

Untitled

Jun 6th, 2020
1,633
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Diff 1.20 KB | None | 0 0
  1. diff --git a/make/helpers.mk b/make/helpers.mk
  2. index 990c5f8..61a4dd4 100644
  3. --- a/make/helpers.mk
  4. +++ b/make/helpers.mk
  5. @@ -41,6 +41,20 @@ APPLY_PATCHES = $(call apply_patches, $(PKG_PATCHES_DIR))
  6.  
  7.  # -----------------------------------------------------------------------------
  8.  
  9. +# rewrite libtool libraries
  10. +define rewrite_libtool
  11. +   cd $(1); \
  12. +   for la in *.la; do \
  13. +       echo -e "$(TERM_YELLOW)Rewriting $${la}$(TERM_NORMAL)"; \
  14. +       $(REWRITE_LIBTOOL)/$${la}; \
  15. +   done
  16. +endef
  17. +
  18. +# rewrite libtool libraries automatically
  19. +REWRITE_LIBTOOL_LA = $(call rewrite_libtool, $(TARGET_LIB_DIR))
  20. +
  21. +# -----------------------------------------------------------------------------
  22. +
  23.  #
  24.  # Manipulation of .config files based on the Kconfig infrastructure.
  25.  # Used by the BusyBox package, the Linux kernel package, and more.
  26. diff --git a/make/target-libs.mk b/make/target-libs.mk
  27. index 3867c0f..60a501b 100644
  28. --- a/make/target-libs.mk
  29. +++ b/make/target-libs.mk
  30. @@ -118,7 +118,7 @@ libdvbsi: | $(TARGET_DIR)
  31.             ; \
  32.         $(MAKE); \
  33.         make install DESTDIR=$(TARGET_DIR); \
  34. -   $(REWRITE_LIBTOOL)/libdvbsi++.la
  35. +   $(REWRITE_LIBTOOL_LA)
  36.     $(REWRITE_PKGCONF)/libdvbsi++.pc
  37.     $(REMOVE)/$(LIBDVBSI_TMP)
  38.     $(TOUCH)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement