From cc39530e3984707726186cf809e5608100cb91f1 Mon Sep 17 00:00:00 2001 From: Francois Keith <francois.keith@inrialpes.fr> Date: Wed, 6 Jul 2011 21:53:26 +0200 Subject: [PATCH] Win32: Remove wrong LoadLibrary. --- src/interpreter.cc | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/interpreter.cc b/src/interpreter.cc index b638e0c..209363a 100644 --- a/src/interpreter.cc +++ b/src/interpreter.cc @@ -49,8 +49,6 @@ Interpreter::Interpreter() // this is silly, but required to be able to import dl module. #ifndef WIN32 dlopen(libpython.c_str(), RTLD_LAZY | RTLD_GLOBAL); -#else - LoadLibrary(libpython.c_str()); #endif Py_Initialize(); mainmod_ = PyImport_AddModule("__main__"); -- GitLab