Author: bamboo
Date: 2007-08-08 14:04:57 -0400 (Wed, 08 Aug 2007)
New Revision: 83685
Modified:
trunk/cecil/flowanalysis/ChangeLog
trunk/cecil/flowanalysis/default.build
Log:
fix for compactframework 1.0 build
Modified: trunk/cecil/flowanalysis/ChangeLog
===================================================================
--- trunk/cecil/flowanalysis/ChangeLog 2007-08-08 17:52:14 UTC (rev 83684)
+++ trunk/cecil/flowanalysis/ChangeLog 2007-08-08 18:04:57 UTC (rev 83685)
@@ -1,3 +1,7 @@
+2007-08-08 Rodrigo B. de Oliveira <[EMAIL PROTECTED]>
+
+ * default.build: compact framework 1.0 build fix
+
2006-09-15 Jb Evain <[EMAIL PROTECTED]>
* convert to the new Cecil API.
Modified: trunk/cecil/flowanalysis/default.build
===================================================================
--- trunk/cecil/flowanalysis/default.build 2007-08-08 17:52:14 UTC (rev
83684)
+++ trunk/cecil/flowanalysis/default.build 2007-08-08 18:04:57 UTC (rev
83685)
@@ -106,21 +106,32 @@
</target>
<target name="compactframework-compilation">
- <csc output="${build.dir}/Cecil.FlowAnalysis.dll"
- target="library" debug="${debug}" unsafe="false"
optimize="${optimize}"
- noconfig="true" nostdlib="true" keyfile="${keyfile}"
- define="${compactframework.defines}">
- />
- <sources basedir="Cecil.FlowAnalysis">
- <include name="**/*.cs" />
- </sources>
+ <!--
+ a bug/limitation in the csc task prevents the
+ compact framework libraries to be referenced by their full paths
+ so we have to copy them to build.dir first
+ -->
+ <copy todir="${build.dir}">
+ <fileset basedir="${compactframework.dir}">
+ <include name="System.dll" />
+ <include name="mscorlib.dll" />
+ </fileset>
+ </copy>
+ <csc output="${build.dir}/Cecil.FlowAnalysis.dll"
+ target="library" debug="${debug}" unsafe="false"
optimize="${optimize}"
+ noconfig="true" nostdlib="true" keyfile="${keyfile}"
+ define="${compactframework.defines}">
+ />
+ <sources basedir="Cecil.FlowAnalysis">
+ <include name="**/*.cs" />
+ </sources>
- <references>
- <include
name="${compactframework.dir}/mscorlib.dll" />
- <include
name="${compactframework.dir}/System.dll" />
- <include name="${build.dir}/Mono.Cecil.dll" />
- </references>
- </csc>
- </target>
+ <references basedir="${build.dir}">
+ <include name="mscorlib.dll" />
+ <include name="System.dll" />
+ <include name="Mono.Cecil.dll" />
+ </references>
+ </csc>
+ </target>
</project>
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches