From ddbc3a6f4ca2605d8102aa659389300f97d715ac Mon Sep 17 00:00:00 2001 From: "Jan (janneke) Nieuwenhuizen" Date: Sun, 21 Nov 2021 21:26:41 +0100 Subject: [PATCH] gnu: nghttp2: Resurrect cross-building. * gnu/packages/web.scm (nghttp2)[arguments]: Add "--disable-python-bindings" when cross-building. --- gnu/packages/web.scm | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm index ecb6d68cc1..48cbf736ba 100644 --- a/gnu/packages/web.scm +++ b/gnu/packages/web.scm @@ -40,7 +40,7 @@ ;;; Copyright © 2019, 2020 Florian Pelz ;;; Copyright © 2020 Timotej Lazar ;;; Copyright © 2020 Pierre Neidhardt -;;; Copyright © 2020 Jan (janneke) Nieuwenhuizen +;;; Copyright © 2020, 2021 Jan (janneke) Nieuwenhuizen ;;; Copyright © 2018, 2019, 2020 Björn Höfling ;;; Copyright © 2020, 2021 Paul Garlick ;;; Copyright © 2020 Michael Rohleder @@ -7630,7 +7630,10 @@ (define-public nghttp2 "--enable-app" ; build all the tools "--enable-hpack-tools" ; ...all the tools "--disable-examples" - "--disable-static") ; don't bother building .a files + "--disable-static" ; don't bother building .a files + ,@(if (%current-target-system) + '("--disable-python-bindings") + '())) #:phases (modify-phases %standard-phases (add-after 'unpack 'break-circular-reference