Skip to content

Commit

Permalink
Merge pull request swiftlang#281 from compnerd/the-path-challenge
Browse files Browse the repository at this point in the history
build: correct the `DT_SONAME`
  • Loading branch information
compnerd authored Jul 15, 2019
2 parents d124c05 + ea09f00 commit bd8ed8d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmake/modules/SwiftSupport.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ function(add_swift_target target)
if(CMAKE_SYSTEM_NAME STREQUAL Windows OR CMAKE_SYSTEM_NAME STREQUAL Darwin)
set(emit_library -emit-library)
else()
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})
endif()
endif()
if(NOT AST_LIBRARY OR library_kind STREQUAL SHARED)
Expand Down

0 comments on commit bd8ed8d

Please sign in to comment.