Skip to content

Commit f41e097

Browse files
kikairoyajeremyd2019
authored andcommitted
[libclang][Cygwin] Use LLVM_EXPORTED_SYMBOL_FILE (*.def file) for Cygwin (llvm#147278)
This is not mandatory but recommended for completeness and consistency with MinGW.
1 parent 62029bd commit f41e097

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clang/tools/libclang/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ if(MSVC)
9797
set(LLVM_EXPORTED_SYMBOL_FILE)
9898
endif()
9999

100-
if (UNIX AND NOT APPLE AND NOT ${CMAKE_SYSTEM_NAME} MATCHES "AIX")
100+
if (UNIX AND NOT APPLE AND NOT ${CMAKE_SYSTEM_NAME} MATCHES "AIX" AND NOT CYGWIN)
101101
set(LLVM_EXPORTED_SYMBOL_FILE)
102102
set(USE_VERSION_SCRIPT ${LLVM_HAVE_LINK_VERSION_SCRIPT})
103103
endif()

0 commit comments

Comments
 (0)