freebsd support in libpath.py (#3247)
This commit is contained in:
parent
0c0a78c255
commit
039dbe6aec
@ -34,7 +34,7 @@ def find_lib_path():
|
||||
# hack for pip installation when copy all parent source directory here
|
||||
dll_path.append(os.path.join(curr_path, './windows/Release/'))
|
||||
dll_path = [os.path.join(p, 'xgboost.dll') for p in dll_path]
|
||||
elif sys.platform.startswith('linux'):
|
||||
elif sys.platform.startswith('linux') or sys.platform.startswith('freebsd'):
|
||||
dll_path = [os.path.join(p, 'libxgboost.so') for p in dll_path]
|
||||
elif sys.platform == 'darwin':
|
||||
dll_path = [os.path.join(p, 'libxgboost.dylib') for p in dll_path]
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user