gnu: nghttp2: Resurrect cross-building.

* gnu/packages/web.scm (nghttp2)[arguments]: Add "--disable-python-bindings"
when cross-building.
This commit is contained in:
Jan (janneke) Nieuwenhuizen 2021-11-21 21:26:41 +01:00
parent f33a977706
commit ddbc3a6f4c
No known key found for this signature in database
GPG key ID: F3C1A0D9C1D65273

View file

@ -40,7 +40,7 @@
;;; Copyright © 2019, 2020 Florian Pelz <pelzflorian@pelzflorian.de> ;;; Copyright © 2019, 2020 Florian Pelz <pelzflorian@pelzflorian.de>
;;; Copyright © 2020 Timotej Lazar <timotej.lazar@araneo.si> ;;; Copyright © 2020 Timotej Lazar <timotej.lazar@araneo.si>
;;; Copyright © 2020 Pierre Neidhardt <mail@ambrevar.xyz> ;;; Copyright © 2020 Pierre Neidhardt <mail@ambrevar.xyz>
;;; Copyright © 2020 Jan (janneke) Nieuwenhuizen <janneke@gnu.org> ;;; Copyright © 2020, 2021 Jan (janneke) Nieuwenhuizen <janneke@gnu.org>
;;; Copyright © 2018, 2019, 2020 Björn Höfling <bjoern.hoefling@bjoernhoefling.de> ;;; Copyright © 2018, 2019, 2020 Björn Höfling <bjoern.hoefling@bjoernhoefling.de>
;;; Copyright © 2020, 2021 Paul Garlick <pgarlick@tourbillion-technology.com> ;;; Copyright © 2020, 2021 Paul Garlick <pgarlick@tourbillion-technology.com>
;;; Copyright © 2020 Michael Rohleder <mike@rohleder.de> ;;; Copyright © 2020 Michael Rohleder <mike@rohleder.de>
@ -7630,7 +7630,10 @@ (define-public nghttp2
"--enable-app" ; build all the tools "--enable-app" ; build all the tools
"--enable-hpack-tools" ; ...all the tools "--enable-hpack-tools" ; ...all the tools
"--disable-examples" "--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 #:phases
(modify-phases %standard-phases (modify-phases %standard-phases
(add-after 'unpack 'break-circular-reference (add-after 'unpack 'break-circular-reference