diff options
author | Ben Noordhuis <info@bnoordhuis.nl> | 2013-03-24 22:53:07 +0100 |
---|---|---|
committer | Ben Noordhuis <info@bnoordhuis.nl> | 2013-03-24 22:53:11 +0100 |
commit | 690a8cce418c919cf99d798f640d317f2487c596 (patch) | |
tree | 360bfa7b926c8cb173b1916d4270b824600ec6e5 /deps/openssl | |
parent | c0d500102a0a11e9d07ed9f0396aae81011e58da (diff) | |
download | node-new-690a8cce418c919cf99d798f640d317f2487c596.tar.gz |
deps: fix openssl build on windows
Commit 8632af3 ("tools: update gyp to r1601") broke the Windows build.
Older versions of GYP link to kernel32.lib, user32.lib, etc. but that
was changed in r1584. See https://codereview.chromium.org/12256017
Fix the build by explicitly linking to the required libraries.
Diffstat (limited to 'deps/openssl')
-rw-r--r-- | deps/openssl/openssl.gyp | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/deps/openssl/openssl.gyp b/deps/openssl/openssl.gyp index 68d89ce9a2..0b08ecdf5d 100644 --- a/deps/openssl/openssl.gyp +++ b/deps/openssl/openssl.gyp @@ -882,7 +882,13 @@ 'defines': [ 'MK1MF_BUILD', 'WIN32_LEAN_AND_MEAN' - ] + ], + 'link_settings': { + 'libraries': [ + '-lgdi32.lib', + '-luser32.lib', + ] + } }, { 'defines': [ # ENGINESDIR must be defined if OPENSSLDIR is. |