common/autoconf/spec.gmk.in
changeset 28809 6481e27e00ee
parent 28606 e4a5774f2ddd
child 28908 fc8fe39b34cf
child 28812 6c36bc1ccc0e
--- a/common/autoconf/spec.gmk.in	Wed Jul 05 20:18:43 2017 +0200
+++ b/common/autoconf/spec.gmk.in	Fri Feb 06 09:56:30 2015 +0100
@@ -129,14 +129,12 @@
 # colon or semicolon
 PATH_SEP:=@PATH_SEP@
 
+# 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 LIB and INCLUDE
-  # environment variables (in Windows path style), and the PATH needs to
-  # be adjusted to include Visual Studio tools (but this needs to be in
-  # cygwin/msys style).
+  # 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).
   export PATH:=@VS_PATH@
-  export INCLUDE:=@VS_INCLUDE@
-  export LIB:=@VS_LIB@
 endif
 
 SYSROOT_CFLAGS := @SYSROOT_CFLAGS@