Skip to content

Commit 9c4e2dc

Browse files
authored
[libclang][Cygwin] Use LLVM_EXPORTED_SYMBOL_FILE (*.def file) for Cygwin (#147278)
This is not mandatory but recommended for completeness and consistency with MinGW.
1 parent c4138a2 commit 9c4e2dc

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
@@ -92,7 +92,7 @@ if(MSVC)
9292
set(LLVM_EXPORTED_SYMBOL_FILE)
9393
endif()
9494

95-
if (UNIX AND NOT APPLE AND NOT ${CMAKE_SYSTEM_NAME} MATCHES "AIX")
95+
if (UNIX AND NOT APPLE AND NOT ${CMAKE_SYSTEM_NAME} MATCHES "AIX" AND NOT CYGWIN)
9696
set(LLVM_EXPORTED_SYMBOL_FILE)
9797
set(USE_VERSION_SCRIPT ${LLVM_HAVE_LINK_VERSION_SCRIPT})
9898
endif()

0 commit comments

Comments
 (0)