forked from nodejs/node
-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathopenssl-cli.gypi
More file actions
39 lines (39 loc) · 944 Bytes
/
openssl-cli.gypi
File metadata and controls
39 lines (39 loc) · 944 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
{
'target_name': 'openssl-cli',
'type': 'executable',
'dependencies': ['openssl'],
'defines': [
'MONOLITH'
],
'includes': ['openssl.gypi'],
'sources': ['<@(openssl_cli_sources)'],
'conditions': [
['OS=="solaris"', {
'libraries': ['<@(openssl_cli_libraries_solaris)']
}, 'OS=="win"', {
'link_settings': {
'libraries': ['<@(openssl_cli_libraries_win)'],
},
}, 'OS in "linux android openharmony"', {
'link_settings': {
'libraries': [
'-ldl',
],
},
}],
# Avoid excessive LTO
['enable_lto=="true"', {
'ldflags': [ '-fno-lto' ],
}],
['node_with_ltcg=="true" or enable_lto=="true" or enable_thin_lto=="true"', {
'msvs_settings': {
'VCCLCompilerTool': {
'AdditionalOptions': ['-fno-lto'],
},
'VCLinkerTool': {
'AdditionalOptions': ['-fno-lto'],
},
},
}],
],
}