summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--recipes-qt/qt5/qt5-creator_git.bb5
1 files changed, 5 insertions, 0 deletions
diff --git a/recipes-qt/qt5/qt5-creator_git.bb b/recipes-qt/qt5/qt5-creator_git.bb
index 4338bf20..f8d4aa1d 100644
--- a/recipes-qt/qt5/qt5-creator_git.bb
+++ b/recipes-qt/qt5/qt5-creator_git.bb
@@ -97,3 +97,8 @@ INSANE_SKIP_${PN} += "ldflags"
97 97
98inherit features_check 98inherit features_check
99REQUIRED_DISTRO_FEATURES ?= "x11 opengl" 99REQUIRED_DISTRO_FEATURES ?= "x11 opengl"
100
101python() {
102 if 'meta-python2' not in d.getVar('BBFILE_COLLECTIONS').split():
103 raise bb.parse.SkipRecipe('Requires meta-python2 to be present.')
104}