Skip to content

Commit e1561ef

Browse files
Dmitry Cherepanovalexeybakhtin
authored andcommitted
8345358: Some DLL Files are missing Windows Properties
1 parent 5a4b440 commit e1561ef

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

jdk/make/lib/SecurityLibraries.gmk

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,11 @@ $(eval $(call SetupNativeCompilation,BUILD_LIBJ2GSS, \
107107
$(call SET_SHARED_LIBRARY_ORIGIN), \
108108
LDFLAGS_SUFFIX := $(LIBDL), \
109109
LDFLAGS_SUFFIX_solaris := -lc, \
110+
VERSIONINFO_RESOURCE := $(JDK_TOPDIR)/src/windows/resource/version.rc, \
111+
RC_FLAGS := $(RC_FLAGS) \
112+
-D "JDK_FNAME=j2gss.dll" \
113+
-D "JDK_INTERNAL_NAME=j2gss" \
114+
-D "JDK_FTYPE=0x2L", \
110115
OBJECT_DIR := $(JDK_OUTPUTDIR)/objs/libj2gss, \
111116
DEBUG_SYMBOLS := $(DEBUG_ALL_BINARIES)))
112117

@@ -124,6 +129,11 @@ ifeq ($(OPENJDK_TARGET_OS), windows)
124129
LDFLAGS := $(LDFLAGS_JDKLIB) \
125130
$(call SET_SHARED_LIBRARY_ORIGIN), \
126131
LDFLAGS_SUFFIX := $(LIBDL), \
132+
VERSIONINFO_RESOURCE := $(JDK_TOPDIR)/src/windows/resource/version.rc, \
133+
RC_FLAGS := $(RC_FLAGS) \
134+
-D "JDK_FNAME=sspi_bridge.dll" \
135+
-D "JDK_INTERNAL_NAME=sspi_bridge" \
136+
-D "JDK_FTYPE=0x2L", \
127137
OBJECT_DIR := $(JDK_OUTPUTDIR)/objs/libsspi_bridge, \
128138
DEBUG_SYMBOLS := $(DEBUG_ALL_BINARIES)))
129139

0 commit comments

Comments
 (0)