File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -221,8 +221,8 @@ function(add_properties_for_swift_modules target reldir)
221221 set_property (TARGET ${target} APPEND PROPERTY INSTALL_RPATH "${SWIFT_INSTALL_RPATH} " )
222222 elseif (CMAKE_SYSTEM_NAME MATCHES "Linux|Android|OpenBSD|FreeBSD" )
223223 string (REGEX MATCH "^[^-]*" arch ${LLVM_TARGET_TRIPLE} )
224- target_link_libraries (${target} PRIVATE swiftCore-linux-${arch} )
225224 string (TOLOWER ${CMAKE_SYSTEM_NAME} platform)
225+ target_link_libraries (${target} PRIVATE swiftCore-${platform} -${arch} )
226226 set (SWIFT_BUILD_RPATH "${LLDB_SWIFT_LIBS} /${platform} " )
227227 set (SWIFT_INSTALL_RPATH "$ORIGIN/${reldir} lib/swift/${platform} " )
228228 set_property (TARGET ${target} APPEND PROPERTY BUILD_RPATH "${SWIFT_BUILD_RPATH} " )
You can’t perform that action at this time.
0 commit comments