diff options
author | Nicolai Hähnle <nicolai.haehnle@amd.com> | 2018-12-05 13:28:03 +0100 |
---|---|---|
committer | Juan A. Suarez Romero <jasuarez@igalia.com> | 2018-12-10 12:55:34 +0100 |
commit | 4ca3d839ea5aa004285171315b91e02819b455ed (patch) | |
tree | 27ec6500b4426016ff84563fe31054748733442a | |
parent | 2462638ebabb52b9171be0472e3bd1b6a6072522 (diff) |
meson: link LLVM 'native' component when LLVM is available
Linking against LLVM built with BUILD_SHARED_LIBS fails otherwise,
as the component is required for the draw module.
Reviewed-by: Dylan Baker <dylan@pnwbakers.com>
(cherry picked from commit 4275cae95c8cb217d6164dfeeafae7b56484b13d)
-rw-r--r-- | meson.build | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meson.build b/meson.build index cce31cd6fbf..30f33a3bf4d 100644 --- a/meson.build +++ b/meson.build @@ -1139,7 +1139,7 @@ endif llvm_modules = ['bitwriter', 'engine', 'mcdisassembler', 'mcjit'] llvm_optional_modules = [] if with_amd_vk or with_gallium_radeonsi or with_gallium_r600 - llvm_modules += ['amdgpu', 'bitreader', 'ipo'] + llvm_modules += ['amdgpu', 'native', 'bitreader', 'ipo'] if with_gallium_r600 llvm_modules += 'asmparser' endif |