Commit 3369deb1 authored by Francois Keith's avatar Francois Keith Committed by Francois Keith
Browse files

Win32: correct the library load

parent f7f73bdd
......@@ -47,7 +47,11 @@ Interpreter::Interpreter()
// load python dynamic library
// this is silly, but required to be able to import dl module.
#ifndef WIN32
dlopen(libpython.c_str(), RTLD_LAZY | RTLD_GLOBAL);
mainmod_ = PyImport_AddModule("__main__");
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment