cairo: fix cross
I accidentally left this commented out when I did the cairo update
that switched the build system to Meson.
Fixes: 2c0a4f46b9 ("cairo: 1.16.0 -> 1.18.0")
This commit is contained in:
@@ -60,18 +60,18 @@ in {
|
||||
(lib.mesonEnable "tests" finalAttrs.doCheck)
|
||||
(lib.mesonEnable "xlib" x11Support)
|
||||
(lib.mesonEnable "xcb" xcbSupport)
|
||||
# ] ++ lib.optionals (!stdenv.buildPlatform.canExecute stdenv.hostPlatform) [
|
||||
# "--cross-file=${builtins.toFile "cross-file.conf" ''
|
||||
# [properties]
|
||||
# ipc_rmid_deferred_release = ${
|
||||
# {
|
||||
# linux = "true";
|
||||
# freebsd = "true";
|
||||
# netbsd = "false";
|
||||
# }.${stdenv.hostPlatform.parsed.kernel.name} or
|
||||
# throw "Unknown value for ipc_rmid_deferred_release"
|
||||
# }
|
||||
# ''}"
|
||||
] ++ lib.optionals (!stdenv.buildPlatform.canExecute stdenv.hostPlatform) [
|
||||
"--cross-file=${builtins.toFile "cross-file.conf" ''
|
||||
[properties]
|
||||
ipc_rmid_deferred_release = ${
|
||||
{
|
||||
linux = "true";
|
||||
freebsd = "true";
|
||||
netbsd = "false";
|
||||
}.${stdenv.hostPlatform.parsed.kernel.name} or
|
||||
(throw "Unknown value for ipc_rmid_deferred_release")
|
||||
}
|
||||
''}"
|
||||
];
|
||||
|
||||
preConfigure = ''
|
||||
|
||||
Reference in New Issue
Block a user