[0.4.13][URLMON] Delay-load advpack

I doubt it helps for CORE-5007 (as it was stated in master),
that ticket most likely got fixed beforehand already.

But I already tested: Delay-loading fixes CORE-15795,
which was unhidden by 0.4.12-dev-632-g
d93e516747

The fix by delay loading was cherry picked from commit
0.4.14-dev-475-g
82b758974f

It's not just a workaround, Windows delay-loads like that as well.
Thomas believes this specific delay-load will not trigger
the LD bug CORE-6504 within our gcc toolchain.

Thanks for help of Mark Jansen, Thomas Faber and Fabian Maurer.
This commit is contained in:
Mark Jansen 2019-11-28 21:40:20 +01:00 committed by Joachim Henze
parent ec663c87f0
commit 7896d3d4ec

View file

@ -54,6 +54,7 @@ add_library(urlmon MODULE
set_module_type(urlmon win32dll)
target_link_libraries(urlmon uuid wine ${PSEH_LIB})
add_importlibs(urlmon rpcrt4 propsys ole32 oleaut32 shlwapi shell32 wininet user32 advapi32 advpack kernel32_vista msvcrt kernel32 ntdll)
add_delay_importlibs(urlmon advpack)
add_importlibs(urlmon rpcrt4 propsys ole32 oleaut32 shlwapi shell32 wininet user32 advapi32 kernel32_vista msvcrt kernel32 ntdll)
add_pch(urlmon precomp.h SOURCE)
add_cd_file(TARGET urlmon DESTINATION reactos/system32 FOR all)