This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

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.
  • Loading branch information...
bnoordhuis committed Mar 24, 2013
1 parent c0d5001 commit 690a8cce418c919cf99d798f640d317f2487c596
Showing with 7 additions and 1 deletion.
  1. +7 −1 deps/openssl/openssl.gyp
View
@@ -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.

0 comments on commit 690a8cc

Please sign in to comment.