remove boost thread checking since it is no longer a dependency
This commit is contained in:
parent
fee0ad05ce
commit
20a9112135
1 changed files with 1 additions and 14 deletions
15
SConstruct
15
SConstruct
|
@ -704,11 +704,7 @@ def FindBoost(context, prefixes, thread_flag):
|
||||||
BOOST_INCLUDE_DIR = None
|
BOOST_INCLUDE_DIR = None
|
||||||
BOOST_APPEND = None
|
BOOST_APPEND = None
|
||||||
env['BOOST_APPEND'] = str()
|
env['BOOST_APPEND'] = str()
|
||||||
|
search_lib = 'libboost_filesystem'
|
||||||
if env['THREADING'] == 'multi':
|
|
||||||
search_lib = 'libboost_thread'
|
|
||||||
else:
|
|
||||||
search_lib = 'libboost_filesystem'
|
|
||||||
|
|
||||||
# note: must call normpath to strip trailing slash otherwise dirname
|
# note: must call normpath to strip trailing slash otherwise dirname
|
||||||
# does not remove 'lib' and 'include'
|
# does not remove 'lib' and 'include'
|
||||||
|
@ -1411,15 +1407,6 @@ if not preconfigured:
|
||||||
['program_options', 'boost/program_options.hpp', False]
|
['program_options', 'boost/program_options.hpp', False]
|
||||||
]
|
]
|
||||||
|
|
||||||
if env['THREADING'] == 'multi':
|
|
||||||
BOOST_LIBSHEADERS.append(['thread', 'boost/thread/mutex.hpp', True])
|
|
||||||
# on solaris the configure checks for boost_thread
|
|
||||||
# require the -pthreads flag to be able to check for
|
|
||||||
# threading support, so we add as a global library instead
|
|
||||||
# of attaching to cxxflags after configure
|
|
||||||
if env['PLATFORM'] == 'SunOS':
|
|
||||||
env.Append(CXXFLAGS = '-pthreads')
|
|
||||||
|
|
||||||
# if requested, sort LIBPATH and CPPPATH before running CheckLibWithHeader tests
|
# if requested, sort LIBPATH and CPPPATH before running CheckLibWithHeader tests
|
||||||
if env['PRIORITIZE_LINKING']:
|
if env['PRIORITIZE_LINKING']:
|
||||||
conf.prioritize_paths(silent=True)
|
conf.prioritize_paths(silent=True)
|
||||||
|
|
Loading…
Reference in a new issue