From 664162982c586f0347e0938ec63c2d6f5a063c6a Mon Sep 17 00:00:00 2001 From: John Preston Date: Wed, 2 Oct 2019 11:21:56 +0300 Subject: [PATCH] Version 1.8.12: Fix build for old OS X. --- Telegram/gyp/lib_ui.gyp | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Telegram/gyp/lib_ui.gyp b/Telegram/gyp/lib_ui.gyp index 81810062e..fa6bd4ea3 100644 --- a/Telegram/gyp/lib_ui.gyp +++ b/Telegram/gyp/lib_ui.gyp @@ -45,6 +45,14 @@ }, 'defines': [ ], + 'conditions': [[ 'build_macold', { + 'xcode_settings': { + 'OTHER_CPLUSPLUSFLAGS': [ '-nostdinc++' ], + }, + 'include_dirs': [ + '/usr/local/macold/include/c++/v1', + ], + }]], 'include_dirs': [ '<(src_loc)', '<(SHARED_INTERMEDIATE_DIR)',