From 19a3713b298b6f7c3f5ff7de3212d445857f15b6 Mon Sep 17 00:00:00 2001 From: Peter Thorson Date: Mon, 24 Mar 2014 08:07:40 -0500 Subject: [PATCH] use libc++ for non-c++11 branches on mac os x --- SConstruct | 1 + 1 file changed, 1 insertion(+) diff --git a/SConstruct b/SConstruct index fb8df135a0..5bd61c172f 100644 --- a/SConstruct +++ b/SConstruct @@ -146,6 +146,7 @@ if env_cpp11['CXX'].startswith('g++'): print "C++11 build environment is not supported on this version of G++" elif env_cpp11['CXX'].startswith('clang++'): print "C++11 build environment enabled" + env.Append(CXXFLANGS = ['-stdlib=libc++'],LINKFLAGS=['-stdlib=libc++']) env_cpp11.Append(WSPP_CPP11_ENABLED = "true",CXXFLAGS = ['-std=c++0x','-stdlib=libc++'],LINKFLAGS = ['-stdlib=libc++'],TOOLSET = ['clang++'],CPPDEFINES = ['_WEBSOCKETPP_CPP11_STL_']) # look for optional second boostroot compiled with clang's libc++ STL library