common/autoconf/hotspot-spec.gmk.in
changeset 28809 6481e27e00ee
parent 26549 2346a9f0d29d
child 28812 6c36bc1ccc0e
--- a/common/autoconf/hotspot-spec.gmk.in	Wed Jul 05 20:18:43 2017 +0200
+++ b/common/autoconf/hotspot-spec.gmk.in	Fri Feb 06 09:56:30 2015 +0100
@@ -132,6 +132,13 @@
   ZIP_DEBUGINFO_FILES:=0
 endif
 
+ifeq ($(OPENJDK_TARGET_OS), windows)
+  # On Windows, the Visual Studio toolchain needs the LIB and INCLUDE
+  # environment variables (in Windows path style).
+  export INCLUDE:=@VS_INCLUDE@
+  export LIB:=@VS_LIB@
+endif
+
 # Sneak this in via the spec.gmk file, since we don't want to mess around too much with the Hotspot make files.
 # This is needed to get the LOG setting to work properly.
 include $(SRC_ROOT)/make/common/MakeBase.gmk