Merge with crew-stable
authorBryan O'Sullivan <bos@serpentine.com>
Tue, 14 Jul 2009 17:21:10 -0700
changeset 9140 ac0f082faa6c
parent 9139 6d1f9238824e (current diff)
parent 9124 632df73485ae (diff)
child 9141 78b81646a2e4
Merge with crew-stable
setup.py
--- a/setup.py	Tue Jul 14 16:51:52 2009 -0700
+++ b/setup.py	Tue Jul 14 17:21:10 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