From: Cheng Zhao Date: Mon, 28 Oct 2013 02:43:01 +0000 (+0800) Subject: Expose libuv's symbols. X-Git-Tag: v0.6.6~1 X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=df919a4be8ec72f640eff8ab95209750d9016f38;p=electron.git Expose libuv's symbols. --- diff --git a/common.gypi b/common.gypi index f9e8abac..148488c3 100644 --- a/common.gypi +++ b/common.gypi @@ -63,6 +63,16 @@ 'GCC_TREAT_WARNINGS_AS_ERRORS': 'NO' }, }], + ['_target_name=="libuv"', { + 'conditions': [ + ['OS=="win"', { + # Expose libuv's symbols. + 'defines': [ + 'BUILDING_UV_SHARED=1', + ], + }], # OS=="win" + ], + }], ], 'msvs_cygwin_shell': 0, # Strangely setting it to 1 would make building under cygwin fail. 'msvs_disabled_warnings': [