From d798ccce9afb38b12443b6e7a4b7373fc4ef5f17 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Mon, 3 Mar 2025 12:18:13 +0100 Subject: [PATCH] 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 --- lang/python/python3-host.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) \ -- 2.30.2