changeset 95160760db54 in /z/repo/m5
details: http://repo.m5sim.org/m5?cmd=changeset;node=95160760db54
description:
        build: grab the right library if we're using a debug version of python

diffstat:

 SConstruct |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (13 lines):

diff -r 8b9be6e12c9b -r 95160760db54 SConstruct
--- a/SConstruct        Thu Jun 10 23:17:07 2010 -0700
+++ b/SConstruct        Mon Jun 14 23:24:45 2010 -0700
@@ -515,7 +515,8 @@
 
 py_getvar = sysconfig.get_config_var
 
-py_version = 'python' + py_getvar('VERSION')
+py_debug = getattr(sys, 'pydebug', False)
+py_version = 'python' + py_getvar('VERSION') + (py_debug and "_d" or "")
 
 py_general_include = sysconfig.get_python_inc()
 py_platform_include = sysconfig.get_python_inc(plat_specific=True)
_______________________________________________
m5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/m5-dev

Reply via email to