Skip to content

Commit 78ba1e5

Browse files
gdamsRealCLanger
authored andcommittedSep 2, 2022
8247676: vcruntime140_1.dll is not needed on 32-bit Windows
Backport-of: bcc668b77f0a0c22db49ef048286a9df5c04a308
1 parent 2548ed3 commit 78ba1e5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎make/autoconf/toolchain_windows.m4

+1-1
Original file line numberDiff line numberDiff line change
@@ -701,7 +701,7 @@ AC_DEFUN([TOOLCHAIN_SETUP_VS_RUNTIME_DLLS],
701701
AC_ARG_WITH(vcruntime-1-dll, [AS_HELP_STRING([--with-vcruntime-1-dll],
702702
[path to microsoft C++ runtime dll (vcruntime*_1.dll) (Windows only) @<:@probed@:>@])])
703703
704-
if test "x$VCRUNTIME_1_NAME" != "x"; then
704+
if test "x$VCRUNTIME_1_NAME" != "x" && test "x$OPENJDK_TARGET_CPU" = xx86_64; then
705705
if test "x$with_vcruntime_1_dll" != x; then
706706
# If given explicitly by user, do not probe. If not present, fail directly.
707707
TOOLCHAIN_CHECK_POSSIBLE_MSVC_DLL($VCRUNTIME_1_NAME, [$with_vcruntime_1_dll],

1 commit comments

Comments
 (1)

openjdk-notifier[bot] commented on Sep 2, 2022

@openjdk-notifier[bot]
Please sign in to comment.