--- 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: