-if with_glx != 'disabled' and (not with_glvnd or not glvnd_has_headers_and_pc_files)
- # If using glvnd the pkg-config header should not point to GL_mesa, it should
- # point to GL. glvnd is only available on unix like platforms so adding -l
- # should be safe here
- # TODO: in the glvnd case glvnd itself should really be providing this.
- if not glvnd_has_headers_and_pc_files
- _gl = '-L${libdir} -lGL'
- else
- _gl = libgl
- endif
-