diff --git a/SConstruct b/SConstruct index f61309fa9..694d494fb 100644 --- a/SConstruct +++ b/SConstruct @@ -704,11 +704,7 @@ def FindBoost(context, prefixes, thread_flag): BOOST_INCLUDE_DIR = None BOOST_APPEND = None env['BOOST_APPEND'] = str() - - if env['THREADING'] == 'multi': - search_lib = 'libboost_thread' - else: - search_lib = 'libboost_filesystem' + search_lib = 'libboost_filesystem' # note: must call normpath to strip trailing slash otherwise dirname # does not remove 'lib' and 'include' @@ -1411,15 +1407,6 @@ if not preconfigured: ['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 env['PRIORITIZE_LINKING']: conf.prioritize_paths(silent=True) diff --git a/bootstrap.sh b/bootstrap.sh index 3a6470990..e3ee8bc8f 100755 --- a/bootstrap.sh +++ b/bootstrap.sh @@ -10,7 +10,7 @@ todo - shrink icu data ' -MASON_VERSION="694d08c" +MASON_VERSION="3e0cc5a" function setup_mason() { if [[ ! -d ./.mason ]]; then @@ -20,7 +20,6 @@ function setup_mason() { echo "Updating to latest mason" (cd ./.mason && git fetch && git checkout ${MASON_VERSION}) fi - export MASON_DIR=$(pwd)/.mason export PATH=$(pwd)/.mason:$PATH export CXX=${CXX:-clang++} export CC=${CC:-clang} @@ -63,8 +62,11 @@ function install_mason_deps() { wait install webp 0.4.2 libwebp & install gdal 1.11.2 libgdal & - install boost 1.59.0 & - install boost_liball 1.59.0 & + install boost 1.61.0 & + install boost_libsystem 1.61.0 & + install boost_libfilesystem 1.61.0 & + install boost_libprogram_options 1.61.0 & + install boost_libregex 1.61.0 & install freetype 2.6 libfreetype & install harfbuzz 0.9.41 libharfbuzz & wait