Merge with bos
authorBrendan Cully <brendan@kublai.com>
Tue, 14 Jul 2009 17:59:36 -0700
changeset 9126 64994005bcb7
parent 9125 8b58f53b9c35 (current diff)
parent 9124 632df73485ae (diff)
child 9127 35c3f94233a0
child 9141 78b81646a2e4
Merge with bos
--- 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