attach -pthreads to CXXFLAGS not LIBS
This commit is contained in:
parent
cd8b52a494
commit
c511313c28
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue