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 <gabe.black@gmail.com> Reviewed-by: Pouya Fotouhi <pfotouhi@ucdavis.edu> Maintainer: Gabe Black <gabe.black@gmail.com> Tested-by: kokoro <noreply+kokoro@google.com>
This commit is contained in:
@@ -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']:
|
||||
|
||||
Reference in New Issue
Block a user