Commit 8db42c41 by Tang, Cheng Committed by Tianqi Chen

add PATH to dll_path on windows (#479)

parent f92daf92
......@@ -37,6 +37,8 @@ def find_lib_path():
dll_path.extend([p.strip() for p in os.environ['LD_LIBRARY_PATH'].split(":")])
elif sys.platform.startswith('darwin') and os.environ.get('DYLD_LIBRARY_PATH', None):
dll_path.extend([p.strip() for p in os.environ['DYLD_LIBRARY_PATH'].split(":")])
elif sys.platform.startswith('win32') and os.environ.get('PATH', None):
dll_path.extend([p.strip() for p in os.environ['PATH'].split(";")])
if sys.platform.startswith('win32'):
vs_configuration = 'Release'
......
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