diff options
author | Raja R Harinath <harinath@hurrynot.org> | 2005-02-17 11:14:34 +0300 |
---|---|---|
committer | Raja R Harinath <harinath@hurrynot.org> | 2005-02-17 11:14:34 +0300 |
commit | 61f819d80dd7b214fd048e2211cdcadafa755210 (patch) | |
tree | fe67a8eb114bcbf3c5fca9c72ce243a03fdaaf5b /runtime | |
parent | 1b6d1852f51781278c6330ae9e2a69ed9e6dc52b (diff) |
* runtime/Makefile.am (PLATFORM_PATH_SEPARATOR): New. $(PATH_SEPARATOR) has the "wrong"
value on cygwin.
(mcs-compileall): Use it.
svn path=/trunk/mono/; revision=40794
Diffstat (limited to 'runtime')
-rw-r--r-- | runtime/Makefile.am | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/runtime/Makefile.am b/runtime/Makefile.am index c84259d36ff..e40a91f45e0 100644 --- a/runtime/Makefile.am +++ b/runtime/Makefile.am @@ -90,15 +90,17 @@ mcs-do-run-test-profiles: test-support-files if PLATFORM_WIN32 cur_dir_cmd = cygpath -w -a . +PLATFORM_PATH_SEPARATOR = ; else cur_dir_cmd = pwd +PLATFORM_PATH_SEPARATOR = : endif # Use --compile-all as a poor man's PEVerify to detect invalid IL mcs-compileall: mono-wrapper wrapper-config save_MONO_PATH=$$MONO_PATH; mcs_topdir=`cd $(mcs_topdir) && $(cur_dir_cmd)`; ret=:; \ for profile in $(build_profiles); do \ - MONO_PATH="$$mcs_topdir/class/lib/$$profile$(PATH_SEPARATOR)$$save_MONO_PATH"; export MONO_PATH; \ + 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 ./mono-wrapper --compile-all $$i; then \ echo $$i verified OK; \ |