8316433: net.dll should delay load winhttp.dll

Reviewed-by: erikj, ihse
This commit is contained in:
Daniel Jeliński 2023-09-21 15:43:05 +00:00
parent 90bcdbd15f
commit 063790012d

View File

@ -52,7 +52,8 @@ $(eval $(call SetupJdkLibrary, BUILD_LIBNET, \
DISABLED_WARNINGS_microsoft_ResolverConfigurationImpl.c := 4996, \
LDFLAGS := $(LDFLAGS_JDKLIB) \
$(call SET_SHARED_LIBRARY_ORIGIN), \
LDFLAGS_windows := -delayload:secur32.dll -delayload:iphlpapi.dll, \
LDFLAGS_windows := -delayload:secur32.dll -delayload:iphlpapi.dll \
-delayload:winhttp.dll, \
LIBS_unix := -ljvm -ljava, \
LIBS_linux := $(LIBDL), \
LIBS_aix := $(LIBDL),\