mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-01 09:44:18 +00:00
libepoxy: fix darwin build
Always remove EGL when building on darwin. (it's not supported)
This commit is contained in:
parent
64b624ce76
commit
b0879b8d71
@ -50,7 +50,7 @@ stdenv.mkDerivation rec {
|
||||
];
|
||||
|
||||
mesonFlags = [
|
||||
"-Degl=${if x11Support then "yes" else "no"}"
|
||||
"-Degl=${if (x11Support && !stdenv.isDarwin) then "yes" else "no"}"
|
||||
"-Dglx=${if x11Support then "yes" else "no"}"
|
||||
"-Dtests=${lib.boolToString doCheck}"
|
||||
"-Dx11=${lib.boolToString x11Support}"
|
||||
|
Loading…
Reference in New Issue
Block a user