From ce1f9c6e6e43537b8c20cbb08f9e4496d9794223 Mon Sep 17 00:00:00 2001 From: Kefu Chai Date: Fri, 8 Jul 2016 14:59:21 +0800 Subject: [PATCH] pybind: put temp .o files in $TMPDIR otherwise they will go to $PWD/$TMPDIR instead. Signed-off-by: Kefu Chai --- src/pybind/rados/setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pybind/rados/setup.py b/src/pybind/rados/setup.py index 802d175a1c7e..9e152bd081f7 100755 --- a/src/pybind/rados/setup.py +++ b/src/pybind/rados/setup.py @@ -109,7 +109,7 @@ def check_sanity(): try: compiler.link_executable( - compiler.compile([tmp_file]), + compiler.compile([tmp_file], tmp_dir), os.path.join(tmp_dir, 'rados_dummy'), libraries=['rados'], output_dir=tmp_dir, -- 2.47.3