gnu: libxext: Do not build static libraries.

* gnu/packages/xorg.scm (libxext)[arguments]: Add "--disable-static" in
  #:configure-flags.
This commit is contained in:
Marius Bakke 2019-12-04 04:49:29 +01:00
parent 56db9f6c60
commit 101be25e7d
No known key found for this signature in database
GPG key ID: A2A06DF2A33A54FA

View file

@ -4576,13 +4576,13 @@ (define-public libxext
(base32
"0azqxllcsfxc3ilhz6kwc6x7m8wc477p59ir9p0yrsldx766zbar"))))
(build-system gnu-build-system)
;; Disable zero malloc check that fails when cross-compiling.
(arguments
`(#:configure-flags
(list
,@(if (%current-target-system)
'("--disable-malloc0returnsnull")
'()))))
(list "--disable-static"
;; Disable zero malloc check that fails when cross-compiling.
,@(if (%current-target-system)
'("--disable-malloc0returnsnull")
'()))))
(propagated-inputs
`(("xorgproto" ,xorgproto)))
(inputs