Currently, we can't build if_python on windows with python2 or python3 that is 
provided from mingw32/mingw64 on msys2.
Most of users download python from https://www.python.org/. And link to library 
made by msvc.

Below is a patch to enable link to library provided from mingw32/mingw64 on 
msys2.

https://gist.githubusercontent.com/mattn/4f17789cdc0ec1ad17e9/raw/149ab7e82e6801fcd916956acc8a873b924fa192/gistfile1.diff

You can build vim.exe/gvim.exe with if_python like below.

mingw32-make -f Make_ming.mak GUI=no IME=yes MBYTE=yes ICONV=yes DEBUG=no 
PYTHON=c:/msys64/mingw64 PYTHON_HOME=c:/msys64/mingw64 
PYTHONINC=-Ic:/msys64/mingw64/include/python2.7 DYNAMIC_PYTHON=yes 
PYTHON_VER=27 DYNAMIC_PYTHON_DLL=libpython2.7.dll ARCH=x86-64 
STATIC_STDCPLUS=yes %*

For example, cpsm (https://github.com/nixprime/cpsm) doesn't work with 
conbination of mingw-gcc and python2 that is downloaded from python official 
site. But this fix the problem.

- mattn

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui