diff --git a/misc/py-xgboost/Makefile b/misc/py-xgboost/Makefile index 62f451469690..fcb779b1ee8b 100644 --- a/misc/py-xgboost/Makefile +++ b/misc/py-xgboost/Makefile @@ -33,7 +33,7 @@ NO_ARCH= yes POST_PLIST= fix-plist fix-plist: # https://github.com/dmlc/xgboost/issues/5705 - @${REINPLACE_CMD} 's|.*libxgboost.so$$||' ${TMPPLIST} + @${REINPLACE_CMD} 's|.*libxgboost${PYTHON_EXT_SUFFIX}.so$$||' ${TMPPLIST} do-test: # tests fail w/out CUDA: https://github.com/dmlc/xgboost/issues/6881 @cd ${WRKSRC}/.. && ${PYTHON_CMD} -m pytest