From e1561ef98f38a7497a43ce09cf5feaabddc457ae Mon Sep 17 00:00:00 2001 From: Dmitry Cherepanov Date: Tue, 10 Dec 2024 14:38:09 -0800 Subject: [PATCH] 8345358: Some DLL Files are missing Windows Properties --- jdk/make/lib/SecurityLibraries.gmk | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/jdk/make/lib/SecurityLibraries.gmk b/jdk/make/lib/SecurityLibraries.gmk index 84abb7e76b3..23c6419bdbf 100644 --- a/jdk/make/lib/SecurityLibraries.gmk +++ b/jdk/make/lib/SecurityLibraries.gmk @@ -107,6 +107,11 @@ $(eval $(call SetupNativeCompilation,BUILD_LIBJ2GSS, \ $(call SET_SHARED_LIBRARY_ORIGIN), \ LDFLAGS_SUFFIX := $(LIBDL), \ LDFLAGS_SUFFIX_solaris := -lc, \ + VERSIONINFO_RESOURCE := $(JDK_TOPDIR)/src/windows/resource/version.rc, \ + RC_FLAGS := $(RC_FLAGS) \ + -D "JDK_FNAME=j2gss.dll" \ + -D "JDK_INTERNAL_NAME=j2gss" \ + -D "JDK_FTYPE=0x2L", \ OBJECT_DIR := $(JDK_OUTPUTDIR)/objs/libj2gss, \ DEBUG_SYMBOLS := $(DEBUG_ALL_BINARIES))) @@ -124,6 +129,11 @@ ifeq ($(OPENJDK_TARGET_OS), windows) LDFLAGS := $(LDFLAGS_JDKLIB) \ $(call SET_SHARED_LIBRARY_ORIGIN), \ LDFLAGS_SUFFIX := $(LIBDL), \ + VERSIONINFO_RESOURCE := $(JDK_TOPDIR)/src/windows/resource/version.rc, \ + RC_FLAGS := $(RC_FLAGS) \ + -D "JDK_FNAME=sspi_bridge.dll" \ + -D "JDK_INTERNAL_NAME=sspi_bridge" \ + -D "JDK_FTYPE=0x2L", \ OBJECT_DIR := $(JDK_OUTPUTDIR)/objs/libsspi_bridge, \ DEBUG_SYMBOLS := $(DEBUG_ALL_BINARIES)))