diff -r a96f5d80fa35 -r 8fcca3163b7f make/hotspot/lib/CompileGtest.gmk --- a/make/hotspot/lib/CompileGtest.gmk Tue Feb 27 10:48:24 2018 +0100 +++ b/make/hotspot/lib/CompileGtest.gmk Tue Feb 27 11:22:32 2018 +0100 @@ -1,5 +1,5 @@ # -# Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. # # This code is free software; you can redistribute it and/or modify it @@ -63,8 +63,8 @@ # exclusive to the gtest libjvm.so. $(eval $(call SetupNativeCompilation, BUILD_GTEST_LIBJVM, \ + NAME := jvm, \ TOOLCHAIN := TOOLCHAIN_LINK_CXX, \ - LIBRARY := jvm, \ OUTPUT_DIR := $(JVM_OUTPUTDIR)/gtest, \ OBJECT_DIR := $(JVM_OUTPUTDIR)/gtest/objs, \ SRC := $(GTEST_TEST_SRC), \ @@ -107,7 +107,8 @@ $(eval $(call SetupNativeCompilation, BUILD_GTEST_LAUNCHER, \ TOOLCHAIN := TOOLCHAIN_LINK_CXX, \ - PROGRAM := gtestLauncher, \ + NAME := gtestLauncher, \ + TYPE := EXECUTABLE, \ OUTPUT_DIR := $(JVM_OUTPUTDIR)/gtest, \ EXTRA_FILES := $(GTEST_LAUNCHER_SRC), \ OBJECT_DIR := $(JVM_OUTPUTDIR)/gtest/launcher-objs, \