summaryrefslogtreecommitdiff
path: root/wscript
diff options
context:
space:
mode:
Diffstat (limited to 'wscript')
-rw-r--r--wscript5
1 files changed, 3 insertions, 2 deletions
diff --git a/wscript b/wscript
index 68b6b5998c..5ca4228cbb 100644
--- a/wscript
+++ b/wscript
@@ -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)