8000 use libc++ for non-c++11 branches on mac os x · brinkqiang2cpp/websocketpp@19a3713 · GitHub
[go: up one dir, main page]

Skip to content

Commit 19a3713

Browse files
committed
use libc++ for non-c++11 branches on mac os x
1 parent e2b7a4b commit 19a3713

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

SConstruct

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,7 @@ if env_cpp11['CXX'].startswith('g++'):
146146
print "C++11 build environment is not supported on this version of G++"
147147
elif env_cpp11['CXX'].startswith('clang++'):
148148
print "C++11 build environment enabled"
149+
env.Append(CXXFLANGS = ['-stdlib=libc++'],LINKFLAGS=['-stdlib=libc++'])
149150
env_cpp11.Append(WSPP_CPP11_ENABLED = "true",CXXFLAGS = ['-std=c++0x','-stdlib=libc++'],LINKFLAGS = ['-stdlib=libc++'],TOOLSET = ['clang++'],CPPDEFINES = ['_WEBSOCKETPP_CPP11_STL_'])
150151

151152
# look for optional second boostroot compiled with clang's libc++ STL library

0 commit comments

Comments
 (0)
0