8210794: Incorrect escaping of in native test libraries
authorerikj
Mon, 23 Sep 2019 12:56:50 -0700
changeset 58275 2dedeaa537a2
parent 58274 71f50513d5e6
child 58276 1e57d3774190
8210794: Incorrect escaping of in native test libraries Reviewed-by: tbell
make/common/TestFilesCompilation.gmk
--- a/make/common/TestFilesCompilation.gmk	Mon Sep 23 21:46:44 2019 +0200
+++ b/make/common/TestFilesCompilation.gmk	Mon Sep 23 12:56:50 2019 -0700
@@ -62,7 +62,7 @@
     $1_OUTPUT_SUBDIR := lib
     $1_BASE_CFLAGS := $(CFLAGS_JDKLIB)
     $1_BASE_CXXFLAGS := $(CXXFLAGS_JDKLIB)
-    $1_LDFLAGS := $(LDFLAGS_JDKLIB) $(call SET_SHARED_LIBRARY_ORIGIN)
+    $1_LDFLAGS := $(LDFLAGS_JDKLIB) $$(call SET_SHARED_LIBRARY_ORIGIN)
     $1_COMPILATION_TYPE := LIBRARY
   else ifeq ($$($1_TYPE), PROGRAM)
     $1_PREFIX = exe