meson/llvm: add native for gallium swrast

If we are building llvmpipe and lavapipe we want native in this
list.

Reviewed-by: Jesse Natalie <jenatali@microsoft.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9208>
This commit is contained in:
Dave Airlie 2021-02-22 11:08:45 +10:00
parent 611e9f29e2
commit 054dd668a6

View file

@ -1515,7 +1515,7 @@ endif
if with_microsoft_clc
llvm_modules += ['target', 'linker', 'irreader', 'option', 'libdriver']
endif
if with_tests
if with_tests or with_gallium_softpipe
llvm_modules += 'native'
endif