summaryrefslogtreecommitdiff
path: root/ios
diff options
context:
space:
mode:
authorTor Lillqvist <tml@iki.fi>2020-06-10 19:34:38 +0300
committerTor Lillqvist <tml@collabora.com>2020-06-10 18:54:08 +0200
commit145d0c3c4cce549b63d3b1d9784dabf8a2e4849e (patch)
tree67696d9f8af696f0a84f804a5bc8d8d049b68bbf /ios
parent3bb01d29e244b68a8e0352e93da84cf6ebf706e8 (diff)
Use xcrun python3 to find the python3 also on Macs with older Xcode
There is no /usr/bin/python3 on those. With a current Xcode, it is the python3 that comes with Xcode that /usr/bin/python3 runs anyway. Change-Id: Iaee3d030337d6dfc37b67852a492b054fb4b9fee Reviewed-on: https://gerrit.libreoffice.org/c/core/+/96062 Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com> Reviewed-by: Tor Lillqvist <tml@collabora.com>
Diffstat (limited to 'ios')
-rw-r--r--ios/CustomTarget_iOS_setup.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/ios/CustomTarget_iOS_setup.mk b/ios/CustomTarget_iOS_setup.mk
index 9df34a50eaed..c8a9ccccb72f 100644
--- a/ios/CustomTarget_iOS_setup.mk
+++ b/ios/CustomTarget_iOS_setup.mk
@@ -45,7 +45,7 @@ $(IOSGEN)/native-code.h: $(BUILDDIR)/config_host.mk \
$(call gb_Output_announce,$(subst $(WORKDIR)/,,$@),$(true),EN2,2)
# generate native-code.h (used by LibreOffice.c)
- $(SRCDIR)/solenv/bin/native-code.py \
+ xcrun python3 $(SRCDIR)/solenv/bin/native-code.py \
-C -g core -g writer -g calc -g draw -g edit \
> $(IOSGEN)/native-code.h