|
|
@ -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(): |
|
|
|