[clang] [cmake] Reenable libclang.dll when LLVM_ENABLE_PIC (PR #138343)

via cfe-commits cfe-commits at lists.llvm.org
Fri May 2 14:08:22 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:

My build just failed with too many exports.  But I bet it can be fixed in a better way so it'd be fine with me to merge this to unbreak actually entirely working platforms and leave me to fix it later.

https://github.com/llvm/llvm-project/pull/138343


More information about the cfe-commits mailing list