fix typo link*er*_flags for OSX w/c++11
This commit is contained in:
parent
4153f4dd57
commit
1c57dbfb3b
2
wscript
2
wscript
@ -153,7 +153,7 @@ def set_compiler_flags (conf,opt):
|
||||
cxx_flags.append('-std=c++11')
|
||||
if platform == "darwin":
|
||||
cxx_flags.append('-stdlib=libc++')
|
||||
link_flags.append('-lc++')
|
||||
linker_flags.append('-lc++')
|
||||
# Prevents visibility issues in standard headers
|
||||
conf.define("_DARWIN_C_SOURCE", 1)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user