From 7bfa25777b87836e13d74ba0dec1d7d47edf4c72 Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Tue, 7 Oct 2014 14:46:06 +0200 Subject: OSX 10.9.5 compile fixes - part one --- wscript | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'wscript') 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) -- cgit v1.2.3