Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'runtime')
-rw-r--r--runtime/Makefile.am12
1 files changed, 10 insertions, 2 deletions
diff --git a/runtime/Makefile.am b/runtime/Makefile.am
index 9bf4b0a1cf1..ca72cb6fa8f 100644
--- a/runtime/Makefile.am
+++ b/runtime/Makefile.am
@@ -85,8 +85,16 @@ endif
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 \