diff --git a/bindings/java/build-windows.xml b/bindings/java/build-windows.xml index 40c6a38396aba76c49ee6f5fa7d7f41ce0818e51..9bf061fea6b6cd3588a4725e69df10268b242ad7 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">