gnu: libxrender: Do not build static libraries.

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

View file

@ -4670,13 +4670,13 @@ (define-public libxrender
(base32
"0j89cnb06g8x79wmmnwzykgkkfdhin9j7hjpvsxwlr3fz1wmjvf0"))))
(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