Bug fix for mesa-glu: if gl is provided by mesa, need to specify argument to ./configure (#30082)
This commit is contained in:
parent
9a33121859
commit
a15a69a769
@ -19,6 +19,12 @@ class MesaGlu(AutotoolsPackage):
|
|||||||
|
|
||||||
provides('glu@1.3')
|
provides('glu@1.3')
|
||||||
|
|
||||||
|
def configure_args(self):
|
||||||
|
args = []
|
||||||
|
if self.spec['gl'].satisfies('mesa'):
|
||||||
|
args.append('--enable-osmesa')
|
||||||
|
return args
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def libs(self):
|
def libs(self):
|
||||||
for dir in ['lib64', 'lib']:
|
for dir in ['lib64', 'lib']:
|
||||||
|
Loading…
Reference in New Issue
Block a user