summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolai Hähnle <nicolai.haehnle@amd.com>2018-12-05 13:28:03 +0100
committerEmil Velikov <emil.l.velikov@gmail.com>2019-01-11 20:35:36 +0000
commit2a9073301fc9c5ee2ce735f5345bb454bd5bebb7 (patch)
tree805db42d7384f6780d077cd41a9e34cae2ceaaf8
parent0d5511f350600018075241b647429f34d18ffb17 (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.build2
1 files changed, 1 insertions, 1 deletions
diff --git a/meson.build b/meson.build
index 74673e5af9c..5a20e1ea30d 100644
--- a/meson.build
+++ b/meson.build
@@ -1173,7 +1173,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