gnu: libxv: Pass --disable-malloc0returnsnull when cross-compiling.

This fixes a configure error when cross-compiling and doesn't
cause any rebuilds.

* gnu/packages/xorg.scm (libxv)[arguments]<#:configure-flags>:
  Add malloc0flags.

Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
This commit is contained in:
Maxime Devos 2021-09-23 23:49:18 +02:00 committed by Mathieu Othacehe
parent afdeef0dcb
commit 4b339c7e3d
No known key found for this signature in database
GPG Key ID: 8354763531769CA6

View File

@ -4959,7 +4959,7 @@ protocol and arbitrary X extension protocol.")
"125hn06bd3d8y97hm2pbf5j55gg4r2hpd3ifad651i4sr7m16v6j"))))
(build-system gnu-build-system)
(arguments
'(#:configure-flags '("--disable-static")))
`(#:configure-flags '(,@(malloc0-flags) "--disable-static")))
(propagated-inputs
`(("xorgproto" ,xorgproto)))
(inputs