Signed-off-by: Haomai Wang <haomai@xsky.com>
# 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:
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(