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-22 17:57:51 +0200
commitb31d9369449d37e951e27cdf76d39586ff6fe053 (patch)
treec2239e784221c08ac793296e6fdd44dbe5b64d4d /ios
parent64b3ab56cbf2c48f211ad588a5d0a69d74f3bf3b (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> Reviewed-on: https://gerrit.libreoffice.org/c/core/+/96858 Tested-by: Jenkins
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 0227c860dfd2..3ed2d5379bbe 100644
--- a/ios/CustomTarget_iOS_setup.mk
+++ b/ios/CustomTarget_iOS_setup.mk
@@ -49,7 +49,7 @@ $(IOSGEN)/native-code.h: $(BUILDDIR)/config_host.mk \
$(call gb_Trace_EndRange,$(subst $(WORKDIR)/,,$@),EN2)
# 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