From: Felix Fietkau Date: Mon, 3 Mar 2025 11:18:13 +0000 (+0100) Subject: python3-host.mk: disable pip --no-binary on macOS X-Git-Url: http://git.openwrt.org/?a=commitdiff_plain;h=d798ccce9afb38b12443b6e7a4b7373fc4ef5f17;p=feed%2Fpackages.git python3-host.mk: disable pip --no-binary on macOS For some reason, pip builds a broken Cython, which segfaults on attempting to install wheel. Work around this by allowing to use precompiled wheels. Signed-off-by: Felix Fietkau --- diff --git a/lang/python/python3-host.mk b/lang/python/python3-host.mk index ae34ba7277..64d4e373e8 100644 --- a/lang/python/python3-host.mk +++ b/lang/python/python3-host.mk @@ -109,7 +109,7 @@ define HostPython3/PipInstall $(HOST_PYTHON3_PIP_VARS) \ $(HOST_PYTHON3_PIP) \ install \ - --no-binary :all: \ + $(if $(findstring Darwin,$(HOST_OS)),,--no-binary :all:) \ --progress-bar off \ --require-hashes \ $(1) \