mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 23:43:30 +00:00
Merge pull request #221723 from Cynerd/mesa-demos-crossbuild
mesa-demos: fix cross compilation
This commit is contained in:
commit
269c677b54
@ -16,7 +16,7 @@ stdenv.mkDerivation rec {
|
||||
freeglut glew libX11 libXext libGL libGLU mesa wayland
|
||||
wayland-protocols vulkan-loader libxkbcommon libdecor glslang
|
||||
] ++ lib.optional (mesa ? osmesa) mesa.osmesa ;
|
||||
nativeBuildInputs = [ meson ninja pkg-config ];
|
||||
nativeBuildInputs = [ meson ninja pkg-config wayland ];
|
||||
|
||||
mesonFlags = [
|
||||
"-Degl=${if stdenv.isDarwin then "disabled" else "auto"}"
|
||||
|
Loading…
Reference in New Issue
Block a user