summaryrefslogtreecommitdiffstats
path: root/src/qt5.mk
diff options
context:
space:
mode:
Diffstat (limited to 'src/qt5.mk')
-rw-r--r--src/qt5.mk8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/qt5.mk b/src/qt5.mk
index 3c7bf02..f26c7c2 100644
--- a/src/qt5.mk
+++ b/src/qt5.mk
@@ -4,7 +4,7 @@ PKG := qt5
$(PKG)_WEBSITE := https://www.qt.io/
$(PKG)_DESCR := Qt
$(PKG)_VERSION = $(qtbase_VERSION)
-$(PKG)_DEPS := $(patsubst $(TOP_DIR)/src/%.mk,%,\
- $(shell grep -l 'qtbase_VERSION' \
- $(TOP_DIR)/src/qt*.mk \
- --exclude '$(TOP_DIR)/src/qt5.mk'))
+$(PKG)_DEPS := $(subst qt5, qtbase, \
+ $(patsubst $(dir $(lastword $(MAKEFILE_LIST)))/%.mk,%,\
+ $(shell grep -l 'qtbase_VERSION' \
+ $(dir $(lastword $(MAKEFILE_LIST)))/qt*.mk)))