Skip to content

Instantly share code, notes, and snippets.

@melpon
Last active Aug 29, 2015
Embed
What would you like to do?
mono 4.0.1 のビルド
# 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
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