diff --git a/bindings/java/build-unix.xml b/bindings/java/build-unix.xml index d1c5e912bb6e3cf7579caa3bfc01f06b96d7f292..9699738f8e8d66a8d0a9f1f72ff24733c84ea38f 100644 --- a/bindings/java/build-unix.xml +++ b/bindings/java/build-unix.xml @@ -27,8 +27,8 @@ <property environment="env"/> <available file="./jni/.libs/libtsk_jni.dylib" property="tsk_dylib.present"/> <available file="./jni/.libs/libtsk_jni.so" property="tsk_so.present"/> - <!-- TODO: Add a check here to give a warning if none of these are found - <fail unless="pres" message="Run make install on The Sleuthkit."/> --> + <available file="./jni/.libs/libtsk_jni.a" property="present"/> + <fail unless="present" message="Run make install on The Sleuthkit."/> </target> <!-- OS X --> @@ -47,5 +47,4 @@ <!-- depends targets take care of the actual copying since the file differs on OS X and Linux --> <!-- This assumes that TSK, libewf, and zlib have been installed on the system and those libraries will be with normal loading approaches --> </target> - </project>