mirror of
https://github.com/nodejs/node.git
synced 2024-12-01 16:10:02 +01:00
f782824d48
Updated gyp has "else if" syntax in condition. Use this for target_arch and OS switches. Several sources, defines, rules and libraries variables moved to gypi files. PR-URL: https://github.com/iojs/io.js/pull/1325 Reviewed-By: Fedor Indutny <fedor@indutny.com> Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
25 lines
512 B
Python
25 lines
512 B
Python
{
|
|
'target_name': 'openssl-cli',
|
|
'type': 'executable',
|
|
'dependencies': ['openssl'],
|
|
'defines': [
|
|
'MONOLITH'
|
|
],
|
|
'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',
|
|
],
|
|
},
|
|
}],
|
|
],
|
|
}
|