mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-19 21:27:37 -05:00
gnu: nghttp2: Resurrect cross-building.
* gnu/packages/web.scm (nghttp2)[arguments]: Add "--disable-python-bindings" when cross-building.
This commit is contained in:
parent
f33a977706
commit
ddbc3a6f4c
1 changed files with 5 additions and 2 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue