]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
pybind: check "CEPH_LIBDIR" not "MAKEFLAGS" 29080/head
authorKefu Chai <kchai@redhat.com>
Wed, 17 Jul 2019 10:46:43 +0000 (18:46 +0800)
committerKefu Chai <kchai@redhat.com>
Wed, 17 Jul 2019 10:56:41 +0000 (18:56 +0800)
commit8ce9e35e117455a0c4b3bbc9b890abb5fb01a2dc
treeff5f0235abcefdf5346934bf71ea2b9e3bc0363f
parent92eaa76f3db42d5612ff58be5098958b51ce9d75
pybind: check "CEPH_LIBDIR" not "MAKEFLAGS"

if the used cmake generator is not "make", these environmental variables
won't be set, so let's just check for "CEPH_LIBDIR". it is set by cmake
function of `distutils_add_cython_module()` and
`distutils_install_cython_module()`

Signed-off-by: Kefu Chai <kchai@redhat.com>
src/pybind/cephfs/setup.py
src/pybind/rados/setup.py
src/pybind/rbd/setup.py
src/pybind/rgw/setup.py