diff options
author | Alexander Köplinger <alex.koeplinger@outlook.com> | 2017-03-16 23:15:32 +0300 |
---|---|---|
committer | Alexander Köplinger <alex.koeplinger@outlook.com> | 2017-03-16 23:38:31 +0300 |
commit | c0dd559ee445a7f24f6866894e5771718dc71e9b (patch) | |
tree | 9b2990f83ccde79fa4c9bae17d563bfcd93e961d /Makefile.am | |
parent | ddae67da8a0218d4a072c99a69a2e26150b4a3a9 (diff) |
Include Mono version in corlib version
This makes it possible to version the runtime<->corlib interface
for each version branch independently and fixes the problem
of monolite getting overwritten by changes in different branches
when corlib version is still the same.
We're moving definition of the corlib version into configure.ac
so we can more easily bake the Mono version into it.
Diffstat (limited to 'Makefile.am')
-rw-r--r-- | Makefile.am | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/Makefile.am b/Makefile.am index 16e5ba16c16..1dbe3b14a2e 100644 --- a/Makefile.am +++ b/Makefile.am @@ -56,15 +56,14 @@ DISTCLEANFILES= mono-uninstalled.pc # building with monolite mcslib = $(mcs_topdir)/class/lib monolite = $(mcslib)/monolite -mono_corlib_version = $(shell sed -n "s/\#define MONO_CORLIB_VERSION //p" $(srcdir)/mono/metadata/appdomain.c) -monolite_url = http://download.mono-project.com/monolite/monolite-$(mono_corlib_version)-latest.tar.gz +monolite_url = https://download.mono-project.com/monolite/monolite-$(MONO_CORLIB_VERSION)-latest.tar.gz .PHONY: get-monolite-latest get-monolite-latest: -rm -fr $(mcslib)/monolite-* -mkdir -p $(mcslib) test ! -d $(monolite) || test ! -d $(monolite).old || rm -fr $(monolite).old test ! -d $(monolite) || mv -f $(monolite) $(monolite).old - cd $(mcslib) && { (wget -O- $(monolite_url) || curl $(monolite_url)) | gzip -d | tar xf - ; } + cd $(mcslib) && { (wget -O- $(monolite_url) || curl -L $(monolite_url)) | gzip -d | tar xf - ; } cd $(mcslib) && mv -f monolite-* monolite if BITCODE |