Last active
March 24, 2016 09:50
-
-
Save adonis0147/f89c14ddc8012fd14510 to your computer and use it in GitHub Desktop.
build Vim on MSYS2
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
#!/bin/bash | |
pacman -S ncurses-devel python2 | |
ln -s /usr/bin/python2.exe /usr/bin/python | |
wget http://www.lua.org/ftp/lua-5.3.2.tar.gz | |
tar -zxvf lua-5.3.2.tar.gz | |
cd lua-5.3.2 | |
make mingw | |
make install INSTALL_TOP=/usr/local TO_BIN="lua.exe luac.exe lua53.dll" | |
cd .. | |
./configure --prefix=/opt/vim \ | |
--with-tlib=ncursesw \ | |
--enable-luainterp \ | |
--with-lua-prefix=/usr/local \ | |
--disable-gui \ | |
--disable-tclinterp \ | |
--enable-cscope \ | |
--without-x \ | |
CPPFLAGS="${CPPFLAGS} -I/usr/include/ncursesw" \ | |
--enable-pythoninterp=dynamic \ | |
--enable-multibyte && make | |
make install |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment