changeset 9126:64994005bcb7

Merge with bos
author Brendan Cully <brendan@kublai.com>
date Tue, 14 Jul 2009 17:59:36 -0700
parents 8b58f53b9c35 (current diff) 632df73485ae (diff)
children 35c3f94233a0 78b81646a2e4
files
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/setup.py	Tue Jul 14 17:58:36 2009 -0700
+++ b/setup.py	Tue Jul 14 17:59:36 2009 -0700
@@ -62,7 +62,7 @@
             devnull = open('/dev/null', 'w')
             oldstderr = os.dup(sys.stderr.fileno())
             os.dup2(devnull.fileno(), sys.stderr.fileno())
-            objects = cc.compile([fname])
+            objects = cc.compile([fname], output_dir=tmpdir)
             cc.link_executable(objects, os.path.join(tmpdir, "a.out"))
         except:
             return False