From df919a4be8ec72f640eff8ab95209750d9016f38 Mon Sep 17 00:00:00 2001 From: Cheng Zhao Date: Mon, 28 Oct 2013 10:43:01 +0800 Subject: [PATCH] Expose libuv's symbols. --- common.gypi | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/common.gypi b/common.gypi index f9e8aba..148488c 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': [ -- 2.7.4