Another attempt at fixing the ant build. it must look for the native android module in ext

This commit is contained in:
Henrik Rydgard 2015-09-22 18:53:53 +02:00
parent 44b94e550b
commit 7e70a743ca

View File

@ -4,13 +4,13 @@
<target name="-pre-build">
<exec executable="${ndk.dir}/ndk-build" failonerror="true">
<arg line="-j4 ${ndkbuildopt}"/>
<env key="NDK_MODULE_PATH" path="..:../ext/native/ext"/>
<env key="NDK_MODULE_PATH" path="../ext:../ext/native/ext"/>
</exec>
</target>
<target name="clean" depends="android_rules.clean">
<exec executable="${ndk.dir}/ndk-build" failonerror="true">
<arg value="clean"/>
<env key="NDK_MODULE_PATH" path="..:../ext/native/ext"/>
<env key="NDK_MODULE_PATH" path="../ext:../ext/native/ext"/>
</exec>
</target>
</project>