libffi: disable tests if linked statically

TCL 8.6 which dejagnu requires can't be linked statically.
This commit is contained in:
sternenseemann 2022-04-28 14:33:55 +02:00
parent 41485e7337
commit c6cbef9aec

View File

@ -1,7 +1,9 @@
{ lib, stdenv, fetchurl, fetchpatch
, autoreconfHook
, doCheck ? true # test suite depends on dejagnu which cannot be used during bootstrapping
# test suite depends on dejagnu which cannot be used during bootstrapping
# dejagnu also requires tcl which can't be built statically at the moment
, doCheck ? !(stdenv.hostPlatform.isStatic)
, dejagnu
}: