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.cargs = []
self.linkargs = [] self.linkargs = []
try: try:
pcdep = PkgConfigDependency('gl', kwargs) pcdep = PkgConfigDependency('gl', environment, kwargs)
if pcdep.found(): if pcdep.found():
self.is_found = True self.is_found = True
self.cargs = pcdep.get_compile_args() self.cargs = pcdep.get_compile_args()
self.linkargs = pcdep.get_link_args() self.linkargs = pcdep.get_link_args()
return
except Exception: except Exception:
pass pass
if mesonlib.is_osx(): if mesonlib.is_osx():

Loading…
Cancel
Save