From e27ad6c9ba89dfe82e7aaa3fe4efca8406ca28ed Mon Sep 17 00:00:00 2001 From: Pavel Pisa Date: Sat, 26 Oct 2013 00:29:16 +0200 Subject: [PATCH] QT: Fix bug in *.pro search which prevent QT_SUBDIRS to work for other than direct make invocation directory. Signed-off-by: Pavel Pisa --- snippets/qt.omk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/snippets/qt.omk b/snippets/qt.omk index 5880b64..35063bc 100644 --- a/snippets/qt.omk +++ b/snippets/qt.omk @@ -44,6 +44,6 @@ clean-qt-$(dir $(1)): $(LOCAL_BUILD_DIR)/$(dir $(1))Makefile endef $(foreach pro,$(QT_PROJECTS), $(eval $(call qt_project_template,$(pro)))) -$(foreach pro,$(foreach dir,$(QT_SUBDIRS), $(wildcard $(dir)/*.pro)), $(eval $(call qt_project_template,$(pro)))) +$(foreach pro,$(foreach dir,$(QT_SUBDIRS), $(wildcard $(SOURCES_DIR)/$(dir)/*.pro)), $(eval $(call qt_project_template,$(pro:$(SOURCES_DIR)/%=%)))) endif -- 2.39.2