Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- diff --git a/make/helpers.mk b/make/helpers.mk
- index 990c5f8..61a4dd4 100644
- --- a/make/helpers.mk
- +++ b/make/helpers.mk
- @@ -41,6 +41,20 @@ APPLY_PATCHES = $(call apply_patches, $(PKG_PATCHES_DIR))
- # -----------------------------------------------------------------------------
- +# rewrite libtool libraries
- +define rewrite_libtool
- + cd $(1); \
- + for la in *.la; do \
- + echo -e "$(TERM_YELLOW)Rewriting $${la}$(TERM_NORMAL)"; \
- + $(REWRITE_LIBTOOL)/$${la}; \
- + done
- +endef
- +
- +# rewrite libtool libraries automatically
- +REWRITE_LIBTOOL_LA = $(call rewrite_libtool, $(TARGET_LIB_DIR))
- +
- +# -----------------------------------------------------------------------------
- +
- #
- # Manipulation of .config files based on the Kconfig infrastructure.
- # Used by the BusyBox package, the Linux kernel package, and more.
- diff --git a/make/target-libs.mk b/make/target-libs.mk
- index 3867c0f..60a501b 100644
- --- a/make/target-libs.mk
- +++ b/make/target-libs.mk
- @@ -118,7 +118,7 @@ libdvbsi: | $(TARGET_DIR)
- ; \
- $(MAKE); \
- make install DESTDIR=$(TARGET_DIR); \
- - $(REWRITE_LIBTOOL)/libdvbsi++.la
- + $(REWRITE_LIBTOOL_LA)
- $(REWRITE_PKGCONF)/libdvbsi++.pc
- $(REMOVE)/$(LIBDVBSI_TMP)
- $(TOUCH)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement