Skip to content
This repository has been archived by the owner on Apr 22, 2023. It is now read-only.

Commit

Permalink
deps: fix openssl build on windows
Browse files Browse the repository at this point in the history
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 690a8cc
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion deps/openssl/openssl.gyp
Expand Up @@ -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.
Expand Down

0 comments on commit 690a8cc

Please sign in to comment.