A few fixes to gl detection.

pull/197/merge
Jussi Pakkanen 10 years ago
parent f13009ad21
commit aba97eda6b
  1. 3
      dependencies.py

@ -888,11 +888,12 @@ class GLDependency(Dependency):
self.cargs = []
self.linkargs = []
try:
pcdep = PkgConfigDependency('gl', kwargs)
pcdep = PkgConfigDependency('gl', environment, kwargs)
if pcdep.found():
self.is_found = True
self.cargs = pcdep.get_compile_args()
self.linkargs = pcdep.get_link_args()
return
except Exception:
pass
if mesonlib.is_osx():

Loading…
Cancel
Save