From 1183f267192681df2148d44e51ad56a531b5a45b Mon Sep 17 00:00:00 2001 From: Kefu Chai Date: Wed, 11 Mar 2020 22:39:59 +0800 Subject: [PATCH] admin/build-doc: pass -rpath to linker to make sure the dummy cythonized python binding is able to find the dummy C binding. Signed-off-by: Kefu Chai --- admin/build-doc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/admin/build-doc b/admin/build-doc index 5a81dad2668..930e2768ee3 100755 --- a/admin/build-doc +++ b/admin/build-doc @@ -85,7 +85,7 @@ for bind in rados rbd cephfs rgw; do BUILD_DOC=1 \ CFLAGS="-iquote$TOPDIR/src/include" \ CPPFLAGS="-iquote$TOPDIR/src/include" \ - LDFLAGS="-L$vdir/lib -Wl,--no-as-needed" \ + LDFLAGS="-L$vdir/lib -Wl,--no-as-needed,-rpath=$vdir/lib" \ $vdir/bin/pip install --upgrade $TOPDIR/src/pybind/${bind} # rgwfile_version(), librgw_create(), rgw_mount() # since py3.5, distutils adds postfix in between ${bind} and so