0
0
mirror of https://github.com/vim/vim.git synced 2025-09-24 03:44:06 -04:00

patch 7.4.907

Problem:    Libraries for dynamically loading interfaces can only be defined
            at compile time.
Solution:   Add options to specify the dll names. (Kazuki Sakamoto,
            closes #452)
This commit is contained in:
Bram Moolenaar
2015-11-02 15:28:18 +01:00
parent 8a52ba7918
commit d94464ee29
13 changed files with 184 additions and 20 deletions

View File

@@ -732,7 +732,12 @@ python_runtime_link_init(char *libname, int verbose)
int
python_enabled(int verbose)
{
return python_runtime_link_init(DYNAMIC_PYTHON_DLL, verbose) == OK;
#ifdef WIN3264
char *dll = DYNAMIC_PYTHON_DLL;
#else
char *dll = *p_pydll ? (char *)p_pydll : DYNAMIC_PYTHON_DLL;
#endif
return python_runtime_link_init(dll, verbose) == OK;
}
/*