[clang] [Clang] Add explicit visibility symbol macros (PR #108276)
Thomas Fransham via cfe-commits
cfe-commits at lists.llvm.org
Fri Sep 13 10:01:04 PDT 2024
================
@@ -166,7 +166,7 @@ if(ENABLE_SHARED)
set_target_properties(libclang
PROPERTIES
VERSION ${LIBCLANG_LIBRARY_VERSION}
- DEFINE_SYMBOL _CINDEX_LIB_)
+ DEFINE_SYMBOL _CINDEX_LIB_ DEFINE_SYMBOL CLANG_EXPORTS)
----------------
fsfod wrote:
I've fixed this and changed it to CLANG_BUILD_STATIC as well as adding a comment why its needed
https://github.com/llvm/llvm-project/pull/108276
More information about the cfe-commits
mailing list