Skip to content
Snippets Groups Projects
Commit 8db42c41 authored by Tang, Cheng's avatar Tang, Cheng Committed by Tianqi Chen
Browse files

add PATH to dll_path on windows (#479)

parent f92daf92
No related branches found
No related tags found
No related merge requests found
......@@ -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'
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment