From a4291aa2f8292587a35e20f26de73e28b6090a48 Mon Sep 17 00:00:00 2001 From: vanhofen Date: Mon, 8 Jun 2020 00:23:41 +0200 Subject: [PATCH] - helpers.mk: find libtool libraries in subdirs too --- make/helpers.mk | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/make/helpers.mk b/make/helpers.mk index 399f39f0..6e1b4094 100644 --- a/make/helpers.mk +++ b/make/helpers.mk @@ -53,7 +53,8 @@ REWRITE_TAG = rewritten=1 define rewrite_libtool cd $(TARGET_LIB_DIR); \ - for la in *.la; do \ + LA=$$(find . -name "*.la" -type f); \ + for la in $${LA}; do \ if ! grep -q "$(REWRITE_TAG)" $${la}; then \ echo -e "$(TERM_YELLOW)Rewriting $${la}$(TERM_NORMAL)"; \ $(REWRITE_LIBTOOL)/$${la}; \