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.
1 parent 735fd36 commit 18da29dCopy full SHA for 18da29d
cmake/modules/AddSwift.cmake
@@ -1531,6 +1531,11 @@ function(add_swift_library name)
1531
if("${sdk}" STREQUAL "ANDROID")
1532
list(APPEND swiftlib_private_link_libraries_targets
1533
"-latomic")
1534
+ # the same issue on FreeBSD, missing symbols:
1535
+ # __atomic_store, __atomic_compare_exchange, __atomic_load
1536
+ elseif("${sdk}" STREQUAL "FREEBSD")
1537
+ list(APPEND swiftlib_private_link_libraries_targets
1538
+ "${SWIFTLIB_DIR}/clang/lib/freebsd/libclang_rt.builtins-${arch}.a")
1539
endif()
1540
elseif("${lib}" STREQUAL "ICU_I18N")
1541
0 commit comments