From 876382bca9a41f69caf4dac56007284f3e0a6f39 Mon Sep 17 00:00:00 2001
From: Jeff Wallace <wallace.je@husky.neu.edu>
Date: Tue, 10 Dec 2013 10:33:15 -0500
Subject: [PATCH] Check for libtsk dll instead of it's parent dir

---
 bindings/java/build-windows.xml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/bindings/java/build-windows.xml b/bindings/java/build-windows.xml
index 40c6a3839..9bf061fea 100644
--- a/bindings/java/build-windows.xml
+++ b/bindings/java/build-windows.xml
@@ -60,8 +60,8 @@
 	<target name="copyWinLibs" depends="copyWinLibs64,copyWinLibs32" description="Copy windows dlls to the correct location." />
 	
 	<target name="checkLibDirs">
-		<available property="win64.exists" type="dir" file="${basedir}/../../win32/x64/${tsk.config}" />
-		<available property="win32.exists" type="dir" file="${basedir}/../../win32/${tsk.config}" />
+		<available property="win64.exists" type="file" file="${basedir}/../../win32/x64/${tsk.config}/libtsk_jni.dll" />
+		<available property="win32.exists" type="file" file="${basedir}/../../win32/${tsk.config}/libtsk_jni.dll" />
 	</target>
 	
 	<target name="copyWinLibs64" depends="checkLibDirs" if="win64.exists">
-- 
GitLab