gnu: ode: Properly disable tests when cross-compiling.

* gnu/packages/game-development.scm (ode): Properly disable tests when
using (%current-target-system).
This commit is contained in:
Nicolas Goaziou 2020-01-28 20:23:41 +01:00
parent e7c938b2bf
commit 07a7cccbac
No known key found for this signature in database
GPG key ID: DA00B4F048E92F2D

View file

@ -1999,7 +1999,7 @@ (define-public ode
(build-system cmake-build-system)
(arguments
;; Tests fail on all systems but x86_64.
`(#:tests? ,(string=? "x86_64-linux"
`(#:tests? ,(string-prefix? "x86_64-"
(or (%current-target-system)
(%current-system)))
#:configure-flags '("-DODE_WITH_LIBCCD_SYSTEM=ON")