diff --git a/examples/vision/segmentation/paddleseg/README.md b/examples/vision/segmentation/paddleseg/README.md index 413e10b8a..ee60f1e1f 100644 --- a/examples/vision/segmentation/paddleseg/README.md +++ b/examples/vision/segmentation/paddleseg/README.md @@ -4,7 +4,7 @@ - [PaddleSeg Release/2.6](https://github.com/PaddlePaddle/PaddleSeg/tree/release/2.6) -目前FastDeploy支持如下模型的部署 +目前FastDeploy支持如下模型的部署 - [U-Net系列模型](https://github.com/PaddlePaddle/PaddleSeg/blob/release/2.6/configs/unet/README.md) - [PP-LiteSeg系列模型](https://github.com/PaddlePaddle/PaddleSeg/blob/release/2.6/configs/pp_liteseg/README.md) diff --git a/setup.py b/setup.py index 749e82c49..3664fe73b 100644 --- a/setup.py +++ b/setup.py @@ -415,7 +415,7 @@ if sys.argv[1] == "install" or sys.argv[1] == "bdist_wheel": rpaths.append("$ORIGIN/" + os.path.join("libs/third_libs", path)) rpaths = ":".join(rpaths) - command = "patchelf --set-rpath '{}' ".format(rpaths) + pybind_so_file + command = "patchelf --force-rpath --set-rpath '{}' ".format(rpaths) + pybind_so_file print( "=========================Set rpath for library===================") print(command)