attach -pthreads to CXXFLAGS not LIBS

This commit is contained in:
Dane Springmeyer 2010-10-12 05:41:36 +00:00
parent cd8b52a494
commit c511313c28

View file

@ -898,7 +898,7 @@ if not preconfigured:
# threading support, so we add as a global library instead
# of attaching to cxxflags after configure
if env['PLATFORM'] == 'SunOS':
env.Append(LIBS = '-pthreads')
env.Append(CXXFLAGS = '-pthreads')
# if requested, sort LIBPATH and CPPPATH before running CheckLibWithHeader tests