summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorMichel Dänzer <[email protected]>2017-08-15 09:41:57 +0900
committerMichel Dänzer <[email protected]>2017-08-17 15:13:09 +0900
commit2c5717a4de2a2406a7e155de641921571a3910c7 (patch)
tree615abf4cdf55b43cd6a063221be5d4c9181c8ca3 /include
parent0cc4c7e33ed7700fc20b6a642a74599a241e0811 (diff)
configure: Check llvm-config --shared-mode
https://bugs.llvm.org/show_bug.cgi?id=6823 still affects current LLVM. llvm-config --libs only reports the single shared library if LLVM was built with -DLLVM_LINK_LLVM_DYLIB=ON. llvm-config --shared-mode reports "shared" in that case, "static" otherwise (even if LLVM was built with -DLLVM_BUILD_LLVM_DYLIB=ON). v2: Keep the LLVM < 4.0 test. (llvm-config --shared-mode is actually available since LLVM 3.8, but that would make the test too complicated :) Fixes: 3d8da1f678e1 ("configure: Trust LLVM >= 4.0 llvm-config --libs for shared libraries") Bugzilla: https://bugs.freedesktop.org/102247 Tested-by: Dieter Nützel <[email protected]>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions