fontconfig: Fix cross building
The fontconfig autotools build attempts to check for va_copy with a test program. This doesn't work cross, but we can hardcode the result. It may be best to use meson in the future.
This commit is contained in:
@@ -67,11 +67,12 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
]
|
||||
++ lib.optionals (stdenv.hostPlatform != stdenv.buildPlatform) [
|
||||
"--with-arch=${stdenv.hostPlatform.parsed.cpu.name}"
|
||||
"ac_cv_va_copy=C99"
|
||||
];
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
doCheck = true;
|
||||
doCheck = stdenv.buildPlatform.canExecute stdenv.hostPlatform;
|
||||
|
||||
installFlags = [
|
||||
# Don't try to write to /var/cache/fontconfig at install time.
|
||||
|
||||
Reference in New Issue
Block a user