https://bugs.documentfoundation.org/show_bug.cgi?id=169163

--- Comment #3 from Heiko Becker <[email protected]> ---
(In reply to Roman Kuznetsov from comment #1)
> cloph, LibreOffice always uses hardcoded internal Python version for every
> LO version, right?

Well, besides --enable-python=internal/fully-internal --enable-python=system
also exists.

> (and I'm not sure we should allow to build LO with external Python that can
> be newer, for example, than our harcoded version)

And to quote a comment from configure, with a bit of highlighting from myself:

# =====================================================================
# Checking for a Python interpreter with version >= 3.3 (or 3.7 if the build
needs meson)
# Optionally user can pass an option to configure, i. e.
--> # ./configure PYTHON=/usr/bin/python <---
# =====================================================================

Of course things can changes, but the intention seems pretty clear.

FWIW, I can make it work with one sed invocation

sed -e "/unset PYTHON am_cv_pathless_PYTHON /d"

But I'm a bit too confused or uninformed about how many times python is
searched for in configure to turn that into a proper patch.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to