changeset 176:542213eebe73

* To small fixes for the last commit
author nihathrael@33b003aa-7bff-0310-803a-e67f0ece8222
date Sun, 25 Jan 2009 19:48:41 +0000
parents ea04dfe54aae
children 3fb17daa1b27
files build/freebsd7-config-dist.py build/linux2-config-dist.py
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/build/freebsd7-config-dist.py	Sun Jan 25 19:07:57 2009 +0000
+++ b/build/freebsd7-config-dist.py	Sun Jan 25 19:48:41 2009 +0000
@@ -29,4 +29,4 @@
 		context.env.Append(LIBPATH = ['/usr/local/lib'])
 		context.checkSimpleLib(['guichan_opengl'])
         # For swig/python:
-        context.env.Append(CPPPATH = ['/usr/local/include/python%s'%sys.version])
+        context.env.Append(CPPPATH = ['/usr/local/include/python%s'%sys.version[:3]])
--- a/build/linux2-config-dist.py	Sun Jan 25 19:07:57 2009 +0000
+++ b/build/linux2-config-dist.py	Sun Jan 25 19:48:41 2009 +0000
@@ -5,7 +5,7 @@
 
 def addExtras(context):
 	context.env.Append(LIBS = 'm')
-	context.env.Replace(LIBPATH = ['/opt/lib', ('%s/ext/install/lib' % context.env['SCONS_ROOT_PATH'])])
+	context.env.Replace(LIBPATH = ['/opt/lib', '%s/ext/install/lib' % context.env['SCONS_ROOT_PATH']])
 	context.env.Append(CPPPATH = ['/opt/include',
 	                              '/usr/include/vorbis',
 	                              '/usr/include/python%s'% sys.version[:3],