From 671d089676261149f836db10456afed5b895d2af Mon Sep 17 00:00:00 2001 From: Gabe Black Date: Thu, 22 Oct 2020 20:00:53 -0700 Subject: [PATCH] util: Link m5_mmap into the JNI shared library for the m5 util. Change-Id: I6849a547e9150417a09f7a0efc73ebf032e44f3a Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/28174 Reviewed-by: Gabe Black Reviewed-by: Pouya Fotouhi Maintainer: Gabe Black Tested-by: kokoro --- util/m5/src/SConscript | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/util/m5/src/SConscript b/util/m5/src/SConscript index 0f4749438..395abb921 100644 --- a/util/m5/src/SConscript +++ b/util/m5/src/SConscript @@ -112,7 +112,8 @@ if env['HAVE_JAVA']: OUT=Dir('out'), CWD=Dir('.')) # Set include paths to the C headers from the JDK which scons found for us. java_env.Append(CPPPATH='${JAVAINCLUDES}') - java_env.SharedLibrary('out/gem5OpJni', [ jni ] + m5op_shared) + java_env.SharedLibrary('out/gem5OpJni', + [ jni ] + m5op_shared + m5_mmap_shared) if env['HAVE_LUA51']: -- 2.30.2