mesa18: explicitly specify python executable (#28420)

This commit is contained in:
Adam J. Stewart 2022-01-17 02:50:44 -06:00 committed by GitHub
parent 624b3a00ff
commit 20bccc3843
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -76,6 +76,9 @@ class Mesa18(AutotoolsPackage):
# Backport Mesa MR#6053 to prevent multiply-defined symbols
patch('multiple-symbols_hash.patch', when='@:20.1.4%gcc@10:')
def setup_build_environment(self, env):
env.set('PYTHON', self.spec['python'].command.path)
def autoreconf(self, spec, prefix):
which('autoreconf')('--force', '--verbose', '--install')