[llvm] Support: allow building with non-C/C++ language linkers (PR #65634)
Tobias Hieta via llvm-commits
llvm-commits at lists.llvm.org
Thu Sep 7 09:40:58 PDT 2023
================
@@ -79,7 +79,7 @@ endif( MSVC OR MINGW )
# Delay load shell32.dll if possible to speed up process startup.
set (delayload_flags)
if (MSVC)
- set (delayload_flags delayimp -delayload:shell32.dll -delayload:ole32.dll)
+ set (delayload_flags $<$<NOT:$<LINK_LANGUAGE:Swift>>:"SHELL:delayimp -delayload:shell32.dll -delayload:ole32.dll">)
----------------
tru wrote:
What does the SHELL: do here?
https://github.com/llvm/llvm-project/pull/65634
More information about the llvm-commits
mailing list