https://git.reactos.org/?p=reactos.git;a=commitdiff;h=19f3d6bd8d736ad15e789…
commit 19f3d6bd8d736ad15e78923be339261098d2484e
Author: Katayama Hirofumi MZ <katayama.hirofumi.mz(a)gmail.com>
AuthorDate: Fri Dec 22 20:21:25 2023 +0900
Commit: GitHub <noreply(a)github.com>
CommitDate: Fri Dec 22 20:21:25 2023 +0900
[MSCTFIME] Delay-import msctf, oleaut32, and imm32 (#6220)
Reduce DLL initialization cost.
- Delay-import msctf.dll, oleaut32.dll, and imm32.dll.
- Unlink comctl32.dll.
CORE-19360
---
dll/ime/msctfime/CMakeLists.txt | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/dll/ime/msctfime/CMakeLists.txt b/dll/ime/msctfime/CMakeLists.txt
index 72e89de4e9c..b2ec562e673 100644
--- a/dll/ime/msctfime/CMakeLists.txt
+++ b/dll/ime/msctfime/CMakeLists.txt
@@ -17,5 +17,6 @@ add_library(msctfime MODULE
set_module_type(msctfime win32dll UNICODE)
set_target_properties(msctfime PROPERTIES SUFFIX ".ime")
target_link_libraries(msctfime wine uuid)
-add_importlibs(msctfime msctf oleaut32 imm32 user32 gdi32 advapi32 comctl32 msvcrt
kernel32 ntdll)
+add_importlibs(msctfime user32 gdi32 advapi32 msvcrt kernel32 ntdll)
+add_delay_importlibs(msctfime msctf oleaut32 imm32)
add_cd_file(TARGET msctfime DESTINATION reactos/system32 FOR all)