We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 6ecb337 + 6c8c715 commit d401f96Copy full SHA for d401f96
tools/SourceKit/cmake/modules/AddSwiftSourceKit.cmake
@@ -158,7 +158,7 @@ macro(add_sourcekit_library name)
158
set(prefixed_link_libraries)
159
foreach(dep ${SOURCEKITLIB_LINK_LIBS})
160
if("${dep}" MATCHES "^clang")
161
- set(dep "${LLVM_LIBRARY_OUTPUT_INTDIR}/lib${dep}.a")
+ set(dep "${LLVM_LIBRARY_OUTPUT_INTDIR}/${CMAKE_STATIC_LIBRARY_PREFIX}${dep}${CMAKE_STATIC_LIBRARY_SUFFIX}")
162
endif()
163
list(APPEND prefixed_link_libraries "${dep}")
164
endforeach()
0 commit comments