Last active
August 29, 2015 14:22
-
-
Save melpon/6bcd1f6a0bd5665698eb to your computer and use it in GitHub Desktop.
mono 4.0.1 のビルド
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# apt-get install git autoconf libtool automake | |
git clone https://github.com/mono/mono.git | |
cd mono | |
git checkout mono-4.0.1.44 | |
patch configure.ac /path/to/patch/configure.ac.patch | |
./autogen.sh --prefix=/path/to/install --disable-nls | |
make get-monolite-latest | |
make EXTERNAL_MCS=${PWD}/mcs/class/lib/monolite/basic.exe | |
make install |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/configure.ac b/configure.ac | |
index 1b499e5..445de25 100644 | |
--- a/configure.ac | |
+++ b/configure.ac | |
@@ -343,6 +343,8 @@ case "$host" in | |
libdl="-ldl" | |
;; | |
esac | |
+CPPFLAGS="`echo $CPPFLAGS | sed -e 's/-DUSE_MMAP//'`" | |
+CPPFLAGS="`echo $CPPFLAGS | sed -e 's/-DUSE_MUNMAP//'`" | |
AC_MSG_RESULT(ok) | |
if test x$need_link_unlink = xyes; then |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment