From 334d125f785773007a6651a28a0631ca257487c1 Mon Sep 17 00:00:00 2001 From: Haomai Wang Date: Tue, 8 Nov 2016 00:00:57 +0800 Subject: [PATCH] pybind/rgwfile: fixes hardcode way to find include dir Signed-off-by: Haomai Wang --- src/pybind/rgw/setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pybind/rgw/setup.py b/src/pybind/rgw/setup.py index c0c2bb8eaa048..fa61461e85509 100755 --- a/src/pybind/rgw/setup.py +++ b/src/pybind/rgw/setup.py @@ -91,6 +91,7 @@ def check_sanity(): # The setup.py has been invoked by a top-level Ceph make. # Set the appropriate CFLAGS and LDFLAGS + compiler.set_include_dirs([os.path.join(CEPH_SRC_DIR, 'include')]) compiler.set_library_dirs([os.environ.get('CEPH_LIBDIR')]) try: @@ -99,7 +100,6 @@ def check_sanity(): link_objects = compiler.compile( sources=[tmp_file], output_dir=tmp_dir, - extra_preargs=['-iquote{path}'.format(path=os.path.join(CEPH_SRC_DIR, 'include'))] ) compiler.link_executable( -- 2.39.5