AK: Fix lld-link : error : undefined symbol: __udivti3 on Windows

This commit is contained in:
stasoid 2024-10-12 21:48:48 +05:00 committed by Andrew Kaster
parent 958ffad706
commit 9d15b3bbb7
Notes: github-actions[bot] 2024-10-16 18:16:25 +00:00

View file

@ -70,3 +70,8 @@ if (ENABLE_SWIFT)
target_sources(AK PRIVATE AK+Swift.swift) target_sources(AK PRIVATE AK+Swift.swift)
add_swift_target_properties(AK) add_swift_target_properties(AK)
endif() endif()
if (WIN32)
# FIXME: Windows on ARM
target_link_libraries(AK PRIVATE clang_rt.builtins-x86_64.lib)
endif()