mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-06 04:03:04 +00:00
mesa: disable glvnd on Darwin
Disabling glvnd ensures Mesa builds libGL.dylib and installs the GL headers on Darwin.
This commit is contained in:
parent
0cc78468fa
commit
724b7e23e1
@ -270,6 +270,8 @@ self = stdenv.mkDerivation {
|
||||
(lib.mesonEnable "gallium-va" false)
|
||||
(lib.mesonEnable "gallium-xa" false)
|
||||
(lib.mesonEnable "lmsensors" false)
|
||||
# Don’t build with glvnd support to make sure Mesa builds libGL on Darwin
|
||||
(lib.mesonEnable "glvnd" false)
|
||||
] ++ lib.optionals enableOpenCL [
|
||||
# Clover, old OpenCL frontend
|
||||
(lib.mesonOption "gallium-opencl" "icd")
|
||||
|
Loading…
Reference in New Issue
Block a user