Skip to content

Commit

Permalink
8291454: Missing check for JLI C runtime library in CoreLibraries.gmk
Browse files Browse the repository at this point in the history
Reviewed-by: erikj, ihse
  • Loading branch information
TheShermanTanker authored and magicus committed Aug 8, 2022
1 parent 5a539e8 commit 8a804f6
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions make/modules/java.base/lib/CoreLibraries.gmk
Original file line number Diff line number Diff line change
Expand Up @@ -172,8 +172,10 @@ ifeq ($(call isTargetOs, macosx), true)
endif

ifeq ($(call isTargetOs, windows), true)
# Supply the name of the C runtime lib.
LIBJLI_CFLAGS += -DMSVCR_DLL_NAME='"$(notdir $(MSVCR_DLL))"'
# Supply the name of the C runtime libs.
ifneq ($(MSVCR_DLL), )
LIBJLI_CFLAGS += -DMSVCR_DLL_NAME='"$(notdir $(MSVCR_DLL))"'
endif
ifneq ($(VCRUNTIME_1_DLL), )
LIBJLI_CFLAGS += -DVCRUNTIME_1_DLL_NAME='"$(notdir $(VCRUNTIME_1_DLL))"'
endif
Expand Down

1 comment on commit 8a804f6

@openjdk-notifier
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.