diff options
author | Robin Gareus <robin@gareus.org> | 2014-10-07 14:46:06 +0200 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2014-10-07 14:46:06 +0200 |
commit | 7bfa25777b87836e13d74ba0dec1d7d47edf4c72 (patch) | |
tree | 888cd5c91b3328d84a7523cc340a8b2fb45605d4 /wscript | |
parent | 94e7015c70a22c8834ce082f954160f79cbaed94 (diff) |
OSX 10.9.5 compile fixes - part one
Diffstat (limited to 'wscript')
-rw-r--r-- | wscript | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -207,8 +207,9 @@ def set_compiler_flags (conf,opt): conf.check_cxx(cxxflags=["-std=c++11"]) cxx_flags.append('-std=c++11') if platform == "darwin": - cxx_flags.append('-stdlib=libc++') - linker_flags.append('-lc++') + cxx_flags.append('--stdlib=libstdc++') + cxx_flags.append('-DOSX_MAVERICKS') + linker_flags.append('--stdlib=libstdc++') # Prevents visibility issues in standard headers conf.define("_DARWIN_C_SOURCE", 1) |