From 0f3ae6771057e24b9ee52344ee9263ea76198a1f Mon Sep 17 00:00:00 2001 From: Yuri Victorovich Date: Tue, 20 Apr 2021 14:58:59 -0700 Subject: [PATCH] misc/py-xgboost: Fix build with Python 3.8 and 3.9 Submitted by: kai --- misc/py-xgboost/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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