зеркало из https://github.com/mono/ikvm-fork.git
Added check to make sure that vfs.zip exists, before building second pass version of IKVM.Runtime.dll, because it appears that mcs doesn't complain about missing resources.
This commit is contained in:
Родитель
51997be230
Коммит
a514d1e0ab
|
@ -71,6 +71,10 @@
|
|||
<property name="defs" value="${defs};FIRST_PASS" />
|
||||
</if>
|
||||
<if test="${not first-pass}">
|
||||
<!-- on Mono the C# compiler doesn't give an error if the vfs.zip resource is missing, so we have to check it here -->
|
||||
<if test="${not file::exists('../openjdk/vfs.zip')}">
|
||||
<fail message="../openjdk/vfs.zip is missing. Make sure to build ikvm/openjdk first." />
|
||||
</if>
|
||||
<call target="IKVM.Runtime.JNI" />
|
||||
</if>
|
||||
<csc noconfig="true" target="library" output="IKVM.Runtime.dll" define="${defs}" optimize="true" unsafe="false" rebuild="true">
|
||||
|
|
Загрузка…
Ссылка в новой задаче