8291454: Missing check for JLI C runtime library in CoreLibraries.gmk

Reviewed-by: erikj, ihse
This commit is contained in:
Julian Waters 2022-08-08 12:17:48 +00:00 committed by Magnus Ihse Bursie
parent 5a539e8da7
commit 8a804f653d

View File

@ -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