summaryrefslogtreecommitdiffstats
path: root/mkspecs/features/uikit/xcodebuild.mk
diff options
context:
space:
mode:
authorJoerg Bornemann <joerg.bornemann@qt.io>2019-10-07 10:25:50 +0200
committerJoerg Bornemann <joerg.bornemann@qt.io>2019-10-08 17:24:57 +0200
commit53ac8094b13d52b7da8b029cf4716827241283c3 (patch)
tree76422109ffc6fb751eb12cef45fa786a98654b0e /mkspecs/features/uikit/xcodebuild.mk
parentb6ce61f486a06ded273d518d871906f9a53ab7c1 (diff)
Fix PRE_TARGETDEPS for iOS projects
This variable was ignored for iOS projects, because the generated Makefile includes xcodebuild.mk that defines its own default target. Export PRE_TARGETDEPS to the Makefile before including xcodebuild.mk and use it there for the dependencies of the generic build targets. Fixes: QTBUG-41325 Change-Id: I5faa82e05570974b5a844ae95b0a012c3badc64a Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
Diffstat (limited to 'mkspecs/features/uikit/xcodebuild.mk')
-rw-r--r--mkspecs/features/uikit/xcodebuild.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/mkspecs/features/uikit/xcodebuild.mk b/mkspecs/features/uikit/xcodebuild.mk
index 0c8d99f4b8..e1156d0e76 100644
--- a/mkspecs/features/uikit/xcodebuild.mk
+++ b/mkspecs/features/uikit/xcodebuild.mk
@@ -27,8 +27,8 @@ distclean: clean_all
$(EXPORT_SUBTARGETS): % : %-build
# Generic targets
-%_first: $(firstword $(call targets, %)) ;
-%_all: $(call targets, %) ;
+%_first: $(EXPORT_PRE_TARGETDEPS) $(firstword $(call targets, %)) ;
+%_all: $(EXPORT_PRE_TARGETDEPS) $(call targets, %) ;
# Actions
%-build: ACTION = build