gnu: libxscrnsaver: Fix cross-compiling.
* gnu/packages/xorg.scm (libxscrnsaver)[arguments]: When cross-compiling add configure-flag to skip a configure test which can't run when cross-compiling. Change-Id: If6ba64dfae28d3db220e91ffcbbaf6108fed9ef9
parent
0d84d3ff9f
commit
a4923688e1
|
@ -1498,7 +1498,11 @@ treat it as part of their software base when porting.")
|
||||||
"1zi0r6mqa1g0hhsp02cdsjcxmsbipiv0v65c1h4pl84fydcjikbm"))))
|
"1zi0r6mqa1g0hhsp02cdsjcxmsbipiv0v65c1h4pl84fydcjikbm"))))
|
||||||
(build-system gnu-build-system)
|
(build-system gnu-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
'(#:configure-flags '("--disable-static")))
|
`(#:configure-flags '("--disable-static"
|
||||||
|
;; This fixes cross compiling.
|
||||||
|
,@(if (%current-target-system)
|
||||||
|
'("--enable-malloc0returnsnull=yes")
|
||||||
|
'()))))
|
||||||
(propagated-inputs
|
(propagated-inputs
|
||||||
(list libx11 libxext xorgproto))
|
(list libx11 libxext xorgproto))
|
||||||
(native-inputs
|
(native-inputs
|
||||||
|
|
Reference in New Issue