Author: marek
Date: 2007-12-04 06:06:32 -0500 (Tue, 04 Dec 2007)
New Revision: 90653

Modified:
   trunk/mono/runtime/Makefile.am
Log:
Fixed 3.5 build



Modified: trunk/mono/runtime/Makefile.am
===================================================================
--- trunk/mono/runtime/Makefile.am      2007-12-04 11:06:06 UTC (rev 90652)
+++ trunk/mono/runtime/Makefile.am      2007-12-04 11:06:32 UTC (rev 90653)
@@ -85,8 +85,16 @@
 mcs-compileall: mono-wrapper etc/mono/config
        save_MONO_PATH=$$MONO_PATH; mcs_topdir=`cd $(mcs_topdir) && 
$(cur_dir_cmd)`; ok=:; \
        for profile in $(build_profiles); do \
-         
MONO_PATH="$$mcs_topdir/class/lib/$$profile$(PLATFORM_PATH_SEPARATOR)$$save_MONO_PATH";
 export MONO_PATH; \
-         for i in $(mcs_topdir)/class/lib/$$profile/*.dll 
$(mcs_topdir)/class/lib/$$profile/*.exe; do \
+         if [ "net_3_5" = "$$profile" ]; then \
+                 
MONO_PATH="$$mcs_topdir/class/lib/$$profile$(PLATFORM_PATH_SEPARATOR)$$mcs_topdir/class/lib/net_2_0$(PLATFORM_PATH_SEPARATOR)$$save_MONO_PATH";
 \
+         else \
+                 
MONO_PATH="$$mcs_topdir/class/lib/$$profile$(PLATFORM_PATH_SEPARATOR)$$save_MONO_PATH";
 \
+         fi; \
+         export MONO_PATH; \
+         for i in $(mcs_topdir)/class/lib/$$profile/*.{dll,exe}; do \
+               if [ ! -f $$i ] ; then \
+                       continue ; \
+               fi ;  \   
            if ./mono-wrapper --compile-all $$i; then \
              echo $$i verified OK; \
            else \

_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches

Reply via email to