allow --namespace-net and fix python library name

This commit is contained in:
roberto@natty32
2011-03-26 09:18:52 +01:00
parent 5c64c1ac3f
commit e87e54ea28
3 changed files with 9 additions and 5 deletions

View File

@@ -20,10 +20,8 @@ else:
os.environ['LD_RUN_PATH'] = "%s/lib" % sysconfig.PREFIX
version = sys.version_info
uver = "%d.%d" % (version[0], version[1])
LIBS.append('-lpython' + uver)
version = sysconfig.get_config_var('VERSION')
LIBS.append('-lpython' + version)
#if str(PYLIB_PATH) != '':
# libs.insert(0,'-L' + PYLIB_PATH)