Index: remoting/remoting_host_mac.gypi |
diff --git a/remoting/remoting_host_mac.gypi b/remoting/remoting_host_mac.gypi |
index 064d86bd68427e8b880668c5d2ed906b18db8f03..40f358a961e826254fd2a687e1dbd231a9257152 100644 |
--- a/remoting/remoting_host_mac.gypi |
+++ b/remoting/remoting_host_mac.gypi |
@@ -226,6 +226,14 @@ |
'INFOPLIST_FILE': 'host/mac/me2me_preference_pane-Info.plist', |
'INFOPLIST_PREPROCESS': 'YES', |
'INFOPLIST_PREPROCESSOR_DEFINITIONS': 'VERSION_FULL="<(version_full)" VERSION_SHORT="<(version_short)" BUNDLE_ID="<(bundle_id)"', |
+ |
+ 'conditions': [ |
+ ['component=="shared_library"', { |
+ # TODO(thakis): Figure out why this is needed, |
+ # http://crbug.com/544531 |
+ 'CLANG_CXX_LIBRARY': 'libstdc++', # -stdlib=libstdc++ |
+ }], |
+ ], |
}, |
'mac_bundle_resources': [ |
'host/mac/me2me_preference_pane.xib', |