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

Commit

Permalink
Rename GYP variable node_use_system_openssl to be consistent
Browse files Browse the repository at this point in the history
  • Loading branch information
ry authored and piscisaureus committed Jun 20, 2012
1 parent 1d3d02c commit fe464a2
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions configure
Expand Up @@ -340,7 +340,7 @@ def configure_openssl(o):
o['defines'] += ['OPENSSL_NO_SSL2=1']

if not options.openssl_use_sys:
o['variables']['node_use_system_openssl'] = b(False)
o['variables']['node_shared_openssl'] = b(False)
else:
out = pkg_config('openssl')
(libs, cflags) = out if out else ('', '')
Expand All @@ -355,7 +355,7 @@ def configure_openssl(o):
else:
o['cflags'] += cflags.split()

o['variables']['node_use_system_openssl'] = b(
o['variables']['node_shared_openssl'] = b(
libs or cflags or options.openssl_libpath or options.openssl_includes)


Expand Down
2 changes: 1 addition & 1 deletion doc/api/process.markdown
Expand Up @@ -295,7 +295,7 @@ An example of the possible output looks like:
node_shared_zlib: 'false',
node_use_dtrace: 'false',
node_use_openssl: 'true',
node_use_system_openssl: 'false',
node_shared_openssl: 'false',
strict_aliasing: 'true',
target_arch: 'x64',
v8_use_snapshot: 'true' } }
Expand Down
4 changes: 2 additions & 2 deletions node.gyp
Expand Up @@ -9,7 +9,7 @@
'node_shared_v8%': 'false',
'node_shared_zlib%': 'false',
'node_use_openssl%': 'true',
'node_use_system_openssl%': 'false',
'node_shared_openssl%': 'false',
'library_files': [
'src/node.js',
'lib/_debugger.js',
Expand Down Expand Up @@ -136,7 +136,7 @@
'defines': [ 'HAVE_OPENSSL=1' ],
'sources': [ 'src/node_crypto.cc' ],
'conditions': [
[ 'node_use_system_openssl=="false"', {
[ 'node_shared_openssl=="false"', {
'dependencies': [ './deps/openssl/openssl.gyp:openssl' ],
}]]
}, {
Expand Down

0 comments on commit fe464a2

Please sign in to comment.