diff options
author | Bram Moolenaar <Bram@vim.org> | 2015-11-02 15:28:18 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2015-11-02 15:28:18 +0100 |
commit | d94464ee294a351ce7b6ba18e8bd3f24f1bef920 (patch) | |
tree | 8c3e98bb5e0f82995a6ee8e7a0729a9ec788265c /src/if_perl.xs | |
parent | 8a52ba791893fd55c5bdf98825c5b3e8892eaa62 (diff) | |
download | vim-git-d94464ee294a351ce7b6ba18e8bd3f24f1bef920.tar.gz |
patch 7.4.907v7.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)
Diffstat (limited to 'src/if_perl.xs')
-rw-r--r-- | src/if_perl.xs | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/if_perl.xs b/src/if_perl.xs index 685c0bacd..19292b384 100644 --- a/src/if_perl.xs +++ b/src/if_perl.xs @@ -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 */ |