[clang] [cmake] Reenable libclang.dll when LLVM_ENABLE_PIC (PR #138343)
via cfe-commits
cfe-commits at lists.llvm.org
Fri May 2 15:54:24 PDT 2025
================
@@ -106,7 +106,7 @@ if (LLVM_EXPORTED_SYMBOL_FILE)
DEPENDS ${LIBCLANG_VERSION_SCRIPT_FILE})
endif()
-if((NOT (WIN32 OR CYGWIN) AND LLVM_ENABLE_PIC) OR
+if((NOT CYGWIN AND LLVM_ENABLE_PIC) OR
((WIN32 OR CYGWIN) AND NOT LIBCLANG_BUILD_STATIC))
----------------
jeremyd2019 wrote:
I opened #138351 to try to figure out how to fix this on Cygwin. Maybe for our static build bootstrapping workaround we need to do both `-DLLVM_ENABLE_PIC=OFF -DLIBCLANG_BUILD_STATIC=ON`.
https://github.com/llvm/llvm-project/pull/138343
More information about the cfe-commits
mailing list