Mesa: use auto when llvm is built shared (#20683)

This commit is contained in:
Ethan Stam 2021-01-05 13:04:57 -07:00 committed by GitHub
parent 32c7241089
commit 18110346c8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -84,6 +84,8 @@ class Mesa(MesonPackage):
# OpenGL ES requires OpenGL # OpenGL ES requires OpenGL
conflicts('~opengl +opengles') conflicts('~opengl +opengles')
# 'auto' needed when shared llvm is built
@when('^llvm~shared_libs')
def patch(self): def patch(self):
filter_file( filter_file(
r"_llvm_method = 'auto'", r"_llvm_method = 'auto'",