From: Kefu Chai Date: Wed, 11 Mar 2020 14:39:59 +0000 (+0800) Subject: admin/build-doc: pass -rpath to linker X-Git-Tag: v16.0.0~51^2~1 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=1183f267192681df2148d44e51ad56a531b5a45b;p=ceph-ci.git 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 --- 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