diff options
Diffstat (limited to 'src/if_python.c')
-rw-r--r-- | src/if_python.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/if_python.c b/src/if_python.c index 2ef0dfc9a..9d28df076 100644 --- a/src/if_python.c +++ b/src/if_python.c @@ -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; } /* |