< prev index next >
make/autoconf/spec.gmk.in
Print this page
*** 120,130 ****
--- 120,135 ----
# Save the original path before replacing it with the Visual Studio tools
ORIGINAL_PATH:=@ORIGINAL_PATH@
ifeq ($(OPENJDK_TARGET_OS), windows)
# On Windows, the Visual Studio toolchain needs the PATH to be adjusted
# to include Visual Studio tools (this needs to be in cygwin/msys style).
+ ifeq ($(OPENJDK_TARGET_OS_ENV), windows.wsl)
+ export PATH:=$(ORIGINAL_PATH):@VS_PATH@
+ export WSLENV:=$(WSLENV):PATH/l
+ else
export PATH:=@VS_PATH@
+ endif
endif
SYSROOT_CFLAGS := @SYSROOT_CFLAGS@
SYSROOT_LDFLAGS := @SYSROOT_LDFLAGS@
< prev index next >