Skip to content

Commit

Permalink
Cmake changes for -llog and -latomic III
Browse files Browse the repository at this point in the history
  • Loading branch information
johnno1962 committed Jun 1, 2017
1 parent 0ab8788 commit 32bd9f1
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions cmake/modules/AddSwift.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -1505,6 +1505,12 @@ function(add_swift_library name)
if("${lib}" STREQUAL "ICU_UC")
list(APPEND swiftlib_private_link_libraries_targets
"${SWIFT_${sdk}_ICU_UC}")
// temporary fix for atomic needing to be
// after object files for libswiftCore.so
if("${sdk}" STREQUAL "ANDROID")
list(APPEND swiftlib_private_link_libraries_targets
"-latomic")
endif()
elseif("${lib}" STREQUAL "ICU_I18N")
list(APPEND swiftlib_private_link_libraries_targets
"${SWIFT_${sdk}_ICU_I18N}")
Expand Down

0 comments on commit 32bd9f1

Please sign in to comment.