Bug fix for mesa-glu: if gl is provided by mesa, need to specify argument to ./configure (#30082)

This commit is contained in:
Dom Heinzeller 2022-05-05 17:35:54 +02:00 committed by GitHub
parent 9a33121859
commit a15a69a769
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -19,6 +19,12 @@ class MesaGlu(AutotoolsPackage):
provides('glu@1.3')
def configure_args(self):
args = []
if self.spec['gl'].satisfies('mesa'):
args.append('--enable-osmesa')
return args
@property
def libs(self):
for dir in ['lib64', 'lib']: