me
/
guix
Archived
1
0
Fork 0

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
Efraim Flashner 2023-11-19 11:43:17 +02:00
parent 0d84d3ff9f
commit a4923688e1
No known key found for this signature in database
GPG Key ID: 41AAE7DCCA3D8351
1 changed files with 5 additions and 1 deletions

View File

@ -1498,7 +1498,11 @@ treat it as part of their software base when porting.")
"1zi0r6mqa1g0hhsp02cdsjcxmsbipiv0v65c1h4pl84fydcjikbm"))))
(build-system gnu-build-system)
(arguments
'(#:configure-flags '("--disable-static")))
`(#:configure-flags '("--disable-static"
;; This fixes cross compiling.
,@(if (%current-target-system)
'("--enable-malloc0returnsnull=yes")
'()))))
(propagated-inputs
(list libx11 libxext xorgproto))
(native-inputs