mirror of
https://github.com/vim/vim.git
synced 2025-10-01 04:54:07 -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:
@@ -611,7 +611,12 @@ perl_runtime_link_init(char *libname, int verbose)
|
||||
perl_enabled(verbose)
|
||||
int verbose;
|
||||
{
|
||||
return perl_runtime_link_init(DYNAMIC_PERL_DLL, verbose) == OK;
|
||||
#if WIN3264
|
||||
char *dll = DYNAMIC_PERL_DLL;
|
||||
#else
|
||||
char *dll = *p_perldll ? (char *)p_perldll : DYNAMIC_PERL_DLL;
|
||||
#endif
|
||||
return perl_runtime_link_init(dll, verbose) == OK;
|
||||
}
|
||||
#endif /* DYNAMIC_PERL */
|
||||
|
||||
|
Reference in New Issue
Block a user