We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d77d727 commit 3b1d018Copy full SHA for 3b1d018
clang/tools/CMakeLists.txt
@@ -15,7 +15,9 @@ add_clang_subdirectory(c-index-test)
15
16
add_clang_subdirectory(clang-rename)
17
add_clang_subdirectory(clang-refactor)
18
-if(UNIX OR MINGW)
+# For MinGW we only enable shared library if LLVM_LINK_LLVM_DYLIB=ON.
19
+# Without that option resulting library is too close to 2^16 DLL exports limit.
20
+if(UNIX OR (MINGW AND LLVM_LINK_LLVM_DYLIB))
21
add_clang_subdirectory(clang-shlib)
22
endif()
23
0 commit comments