From 9d15b3bbb72813daf0aaf13db7d52e51c82702fd Mon Sep 17 00:00:00 2001 From: stasoid Date: Sat, 12 Oct 2024 21:48:48 +0500 Subject: [PATCH] AK: Fix `lld-link : error : undefined symbol: __udivti3` on Windows --- AK/CMakeLists.txt | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/AK/CMakeLists.txt b/AK/CMakeLists.txt index 35a68bdae90..49298c3483e 100644 --- a/AK/CMakeLists.txt +++ b/AK/CMakeLists.txt @@ -70,3 +70,8 @@ if (ENABLE_SWIFT) target_sources(AK PRIVATE AK+Swift.swift) add_swift_target_properties(AK) endif() + +if (WIN32) + # FIXME: Windows on ARM + target_link_libraries(AK PRIVATE clang_rt.builtins-x86_64.lib) +endif()