--- old/make/hotspot/lib/CompileGtest.gmk 2018-02-27 12:11:21.548514983 +0100 +++ new/make/hotspot/lib/CompileGtest.gmk 2018-02-27 12:11:21.324514985 +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, \