Added workaround for the fact that mcs doesn't support the -baseaddress option and that NAnt supplies this option when targetting Mono.

This commit is contained in:
jfrijters 2009-07-08 09:02:18 +00:00
Родитель c2ea118316
Коммит 2cfd7fad78
1 изменённых файлов: 4 добавлений и 2 удалений

Просмотреть файл

@ -20,7 +20,8 @@
</replacetokens>
</filterchain>
</copy>
<csc noconfig="true" target="library" output="IKVM.Runtime.JNI.dll" define="${defs}" optimize="true" unsafe="true" baseaddress="0x55300000" rebuild="true">
<csc noconfig="true" target="library" output="IKVM.Runtime.JNI.dll" define="${defs}" optimize="true" unsafe="true" rebuild="true">
<arg unless="${string::starts-with(framework::get-target-framework(), 'mono')}" value="/baseaddress:0x55300000" />
<sources>
<include name="../CommonAssemblyInfo.cs" />
<include name="JniAssemblyInfo.cs" />
@ -60,7 +61,8 @@
<if test="${not first-pass}">
<call target="IKVM.Runtime.JNI" />
</if>
<csc noconfig="true" target="library" output="IKVM.Runtime.dll" define="${defs}" optimize="true" unsafe="false" baseaddress="0x55000000" rebuild="true">
<csc noconfig="true" target="library" output="IKVM.Runtime.dll" define="${defs}" optimize="true" unsafe="false" rebuild="true">
<arg unless="${string::starts-with(framework::get-target-framework(), 'mono')}" value="/baseaddress:0x55000000" />
<sources>
<include name="../CommonAssemblyInfo.cs" />
<include name="AssemblyInfo.cs" />