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.
This commit is contained in:
parent
c0d500102a
commit
690a8cce41
8
deps/openssl/openssl.gyp
vendored
8
deps/openssl/openssl.gyp
vendored
@ -882,7 +882,13 @@
|
|||||||
'defines': [
|
'defines': [
|
||||||
'MK1MF_BUILD',
|
'MK1MF_BUILD',
|
||||||
'WIN32_LEAN_AND_MEAN'
|
'WIN32_LEAN_AND_MEAN'
|
||||||
]
|
],
|
||||||
|
'link_settings': {
|
||||||
|
'libraries': [
|
||||||
|
'-lgdi32.lib',
|
||||||
|
'-luser32.lib',
|
||||||
|
]
|
||||||
|
}
|
||||||
}, {
|
}, {
|
||||||
'defines': [
|
'defines': [
|
||||||
# ENGINESDIR must be defined if OPENSSLDIR is.
|
# ENGINESDIR must be defined if OPENSSLDIR is.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user