[pypy-svn] r30740 - pypy/dist/pypy/translator/tool

xoraxax at codespeak.net xoraxax at codespeak.net
Sat Jul 29 21:49:34 CEST 2006


Author: xoraxax
Date: Sat Jul 29 21:49:33 2006
New Revision: 30740

Modified:
   pypy/dist/pypy/translator/tool/cbuild.py
Log:
Choose gc_pypy instead of gc, fixes test_boehm on Windows. Thanks to Scott Dial!

Modified: pypy/dist/pypy/translator/tool/cbuild.py
==============================================================================
--- pypy/dist/pypy/translator/tool/cbuild.py	(original)
+++ pypy/dist/pypy/translator/tool/cbuild.py	Sat Jul 29 21:49:33 2006
@@ -382,7 +382,10 @@
 }
 """)
         cfile.close()
-        build_executable([cfname], libraries=['gc'], noerr=True)
+        if sys.platform == 'win32':
+            build_executable([cfname], libraries=['gc_pypy'], noerr=True)
+        else:
+            build_executable([cfname], libraries=['gc'], noerr=True)
     except:
         return False
     else:



More information about the Pypy-commit mailing list