Sophie

Sophie

distrib > Mandriva > current > i586 > media > contrib-release-src > by-pkgid > 14d4cd404607510ae23f43ee173ff0ed > files > 3

waf-1.5.15-1mdv2010.1.src.rpm

--- wafadmin/Tools/python.py~	2009-06-10 01:17:29.000000000 +0200
+++ wafadmin/Tools/python.py	2009-07-11 11:36:55.000000000 +0200
@@ -214,11 +214,15 @@
 		for lib in python_SYSLIBS.split():
 			if lib.startswith('-l'):
 				lib = lib[2:] # strip '-l'
+			if lib.startswith('-pthread'):
+				lib = lib[1:] # strip '-'
 			env.append_value('LIB_PYEMBED', lib)
 	if python_SHLIBS is not None:
 		for lib in python_SHLIBS.split():
 			if lib.startswith('-l'):
 				lib = lib[2:] # strip '-l'
+			if lib.startswith('-pthread'):
+				lib = lib[1:] # strip '-'
 			env.append_value('LIB_PYEMBED', lib)
 
 	if Options.platform != 'darwin' and python_LDFLAGS: