Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[mono-runtimes] Encode $(HostOS) into
host
build path. (#18)
Using build-tools/mono-runtimes/obj/$(Configuration)/host as the mono build path for the "host" OS is problematic when the source tree is shared amongst multiple different operating systems, e.g. if the `xamarin-android` checkout is in Dropbox, and the "same" Dropbox folder is shared between OS X and Linux. There Can Be Only One™ host OS, as it were. (This is presumably fine for non-host builds, as cross compoilers are used, and the cross compilers should presumably compatible object code across operating systems...) Improve support for cross-OS source tree sharing, and encode `$(HostOS)` into the build path, resulting in build-tools/mono-runtimes/obj/$(Configuration)/host-$(HostOS). This would allow OS X and Linux to share source trees without stepping on each others toes. (Not currently encoded: OS architecture. There Can Be Only One™ "Linux" build tree with this setup...)
- Loading branch information