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
This commit is contained in:
Tor Lillqvist 2020-06-10 19:34:38 +03:00 committed by Tor Lillqvist
parent 64b3ab56cb
commit b31d936944

View file

@ -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