Skip to content

Commit

Permalink
Update JIT UMA link step to include ucrt, vcruntime for VS2022
Browse files Browse the repository at this point in the history
Signed-off-by: Peter Shipton <[email protected]>
  • Loading branch information
pshipton committed Nov 6, 2023
1 parent 0d0f5ed commit c73eac5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions runtime/compiler/build/toolcfg/win-msvc/common.mk
Original file line number Diff line number Diff line change
Expand Up @@ -214,11 +214,11 @@ SOLINK_LIBPATH+=$(PRODUCT_LIBPATH)
SOLINK_SLINK+=$(PRODUCT_SLINK) j9thr j9hookable kernel32 oldnames msvcrt msvcprt ws2_32

ifeq ($(origin MSVC_VERSION), undefined)
ifneq (,$(filter 14.0 15.0, $(VisualStudioVersion)))
ifneq (,$(filter 14.0 15.0 16.0 17.0, $(VisualStudioVersion)))
SOLINK_SLINK+=ucrt vcruntime
endif
else
ifneq (,$(filter 2013 2015 2017 2019, $(MSVC_VERSION)))
ifneq (,$(filter 2013 2015 2017 2019 2022, $(MSVC_VERSION)))
SOLINK_SLINK+=ucrt vcruntime
endif
endif
Expand Down

0 comments on commit c73eac5

Please sign in to comment.