python3Packages.xgboost: fix the build on Darwin (#65703)

This commit is contained in:
Wael Nasreddine
2019-07-31 18:29:11 -07:00
committed by GitHub
parent ba4e5a3f64
commit fb2e964012
2 changed files with 3 additions and 1 deletions

View File

@@ -35,4 +35,4 @@ index d87922c0..859a30fb 100644
- 'did you install compilers and run build.sh in root path?\n'
- 'List of candidates:\n' + ('\n'.join(dll_path)))
- return lib_path
+ return ["@libpath@/libxgboost.so"]
+ return ["@libpath@/libxgboost@extention@"]