https://git.reactos.org/?p=reactos.git;a=commitdiff;h=2f7dc168f29c0693203cc…
commit 2f7dc168f29c0693203cc10901cb6dc4bb23ea75
Author: Joachim Henze <33393466+JoachimHenze(a)users.noreply.github.com>
AuthorDate: Thu Apr 7 00:36:52 2022 +0200
Commit: GitHub <noreply(a)github.com>
CommitDate: Thu Apr 7 00:36:52 2022 +0200
[WINHTTP] Fix 1 MSVC x86 warning LNK4199 (#4414) CORE-18104
Fixes
Creating library dll\win32\winhttp\winhttp.lib and object
dll\win32\winhttp\winhttp.exp
LINK : warning LNK4199: /DELAYLOAD:ole32.dll ignored; no imports found from ole32.dll
which I could observe all the way from releases/0.4.7 up to releases/0.4.14
with MSVC 2010SP1 (16.0.40219.1) x86 target in dbg configuration
---
dll/win32/winhttp/CMakeLists.txt | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dll/win32/winhttp/CMakeLists.txt b/dll/win32/winhttp/CMakeLists.txt
index f0dca0805ed..184ca8604e6 100644
--- a/dll/win32/winhttp/CMakeLists.txt
+++ b/dll/win32/winhttp/CMakeLists.txt
@@ -29,7 +29,7 @@ add_library(winhttp MODULE
set_module_type(winhttp win32dll)
target_link_libraries(winhttp uuid wine)
-add_delay_importlibs(winhttp oleaut32 ole32 crypt32 secur32)
+add_delay_importlibs(winhttp oleaut32 crypt32 secur32)
add_importlibs(winhttp user32 advapi32 ws2_32 jsproxy kernel32_vista msvcrt kernel32
ntdll)
add_dependencies(winhttp stdole2)
add_pch(winhttp precomp.h SOURCE)