Commit 93b6cd3d authored by Stefan Behnel's avatar Stefan Behnel

Register the absolute module path in cython.inline() under Windows, not the...

Register the absolute module path in cython.inline() under Windows, not the (potentially) relative path.
parent f5ab2f42
......@@ -271,7 +271,7 @@ def __invoke(%(params)s):
except AttributeError:
pass
else:
add_dll_directory(os.path.dirname(module_path))
add_dll_directory(os.path.abspath(os.path.dirname(module_path)))
module = load_dynamic(module_name, module_path)
......
Markdown is supported
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