mirror of https://github.com/nodejs/node.git
30 lines
640 B
Python
30 lines
640 B
Python
{
|
|
'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"', {
|
|
'link_settings': {
|
|
'libraries': [
|
|
'-ldl',
|
|
],
|
|
},
|
|
}],
|
|
# Avoid excessive LTO
|
|
['enable_lto=="true"', {
|
|
'ldflags': [ '-fno-lto' ],
|
|
}],
|
|
],
|
|
}
|