Fix use of variable I had tidied out

This commit is contained in:
Chris Cannam
2022-09-26 10:20:42 +01:00
parent 57d59b4c7a
commit e5f756d16d

View File

@@ -627,7 +627,7 @@ if jni_dep.found() and javac.found() and jar.found()
)
else
target_summary += { 'JNI library': false }
if not have_jni
if not jni_dep.found()
message('Not building Java Native Interface: jni.h header not found')
else
message('Not building Java Native Interface: Java compiler not found')