forked from mirrors/nixpkgs
libunistring: Don't run tests when cross-compiling
This commit is contained in:
parent
f8ce957263
commit
bba7c214ff
|
@ -22,7 +22,7 @@ stdenv.mkDerivation rec {
|
|||
|
||||
# XXX: There are test failures on non-GNU systems, see
|
||||
# http://lists.gnu.org/archive/html/bug-libunistring/2010-02/msg00004.html .
|
||||
doCheck = stdenv ? glibc;
|
||||
doCheck = (stdenv ? glibc) && (stdenv.hostPlatform == stdenv.buildPlatform);
|
||||
|
||||
meta = {
|
||||
homepage = http://www.gnu.org/software/libunistring/;
|
||||
|
|
Loading…
Reference in a new issue