gnu: libxrandr: Add --disable-malloc0-returnsnull when necessary.

* gnu/packages/xorg.scm
  (libxrandr)[arguments]<#:configure-flags>: Add malloc0-flags.
This commit is contained in:
Maxime Devos 2021-08-25 14:41:55 +02:00 committed by Mathieu Othacehe
parent 1485d531a7
commit ddd4ceeeb3
No known key found for this signature in database
GPG key ID: 8354763531769CA6

View file

@ -5240,7 +5240,7 @@ (define-public libxrandr
"08z0mqywrm7ij8bxlfrx0d2wy6kladdmkva1nw5k6qix82z0xsla"))))
(build-system gnu-build-system)
(arguments
'(#:configure-flags '("--disable-static")))
`(#:configure-flags '("--disable-static" ,@(malloc0-flags))))
(propagated-inputs
;; In accordance with xrandr.pc.
`(("libx11" ,libx11)