From c511313c288ce63d3ab1f15571a75c4bf791428c Mon Sep 17 00:00:00 2001 From: Dane Springmeyer Date: Tue, 12 Oct 2010 05:41:36 +0000 Subject: [PATCH] attach -pthreads to CXXFLAGS not LIBS --- SConstruct | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SConstruct b/SConstruct index 4cc9f8f2c..5f25eaa82 100644 --- a/SConstruct +++ b/SConstruct @@ -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