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 0074e07 + e593c02 commit fff32f5Copy full SHA for fff32f5
cmake/modules/SwiftSupport.cmake
@@ -136,7 +136,7 @@ function(add_swift_target target)
136
if(CMAKE_SYSTEM_NAME STREQUAL Windows OR CMAKE_SYSTEM_NAME STREQUAL Darwin)
137
set(emit_library -emit-library)
138
else()
139
- set(emit_library -emit-library -Xlinker -soname -Xlinker ${AST_OUTPUT})
+ set(emit_library -emit-library -Xlinker -soname -Xlinker ${CMAKE_SHARED_LIBRARY_PREFIX}${target}${CMAKE_SHARED_LIBRARY_SUFFIX})
140
endif()
141
142
if(NOT AST_LIBRARY OR library_kind STREQUAL SHARED)
0 commit comments