mesa: disable glvnd on Darwin

Disabling glvnd ensures Mesa builds libGL.dylib and installs the GL headers on Darwin.
This commit is contained in:
Randy Eckenrode 2024-06-10 19:45:45 -04:00
parent 0cc78468fa
commit 724b7e23e1
No known key found for this signature in database
GPG Key ID: 64C1CD4EC2A600D9

View File

@ -270,6 +270,8 @@ self = stdenv.mkDerivation {
(lib.mesonEnable "gallium-va" false)
(lib.mesonEnable "gallium-xa" false)
(lib.mesonEnable "lmsensors" false)
# Dont 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")