From aebc0f2242e2fb180a779fc757b3cfc318efe3a9 Mon Sep 17 00:00:00 2001 From: Bert Belder Date: Mon, 4 Mar 2013 20:22:25 +0100 Subject: [PATCH] windows: link with advapi32 and shell32 libraries Older versions of GYP would set up the Visual Studio project to link with these libraries by default, but this was changed in r1584 (see https://codereview.chromium.org/12256017). Closes #728 --- uv.gyp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/uv.gyp b/uv.gyp index f288d92d3..b4cdf8d7d 100644 --- a/uv.gyp +++ b/uv.gyp @@ -160,9 +160,11 @@ ], 'link_settings': { 'libraries': [ - '-lws2_32.lib', + '-ladvapi32.lib', + '-liphlpapi.lib', '-lpsapi.lib', - '-liphlpapi.lib' + '-lshell32.lib', + '-lws2_32.lib' ], }, }, { # Not Windows i.e. POSIX