diff options
author | Ryan Dahl <ry@tinyclouds.org> | 2011-06-03 16:37:56 +0200 |
---|---|---|
committer | Ryan Dahl <ry@tinyclouds.org> | 2011-06-03 16:37:56 +0200 |
commit | b6a742d76fa8a598f24c8c2ec5b18d0cdc22ef4a (patch) | |
tree | 0620e67e68151c77b31f9e5cc0635869f130931a /wscript | |
parent | 8971b593659b4ba48f63a095fb0b9a1bd4662db6 (diff) | |
parent | 37d529f818aacd1146b1d927b3251bbefcea389f (diff) | |
download | nodejs-b6a742d76fa8a598f24c8c2ec5b18d0cdc22ef4a.tar.gz nodejs-b6a742d76fa8a598f24c8c2ec5b18d0cdc22ef4a.tar.bz2 nodejs-b6a742d76fa8a598f24c8c2ec5b18d0cdc22ef4a.zip |
Merge branch 'v0.4'
Diffstat (limited to 'wscript')
-rw-r--r-- | wscript | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -143,6 +143,13 @@ def set_options(opt): , dest='openssl_libpath' ) + opt.add_option( '--no-ssl2' + , action='store_true' + , default=False + , help="Disable OpenSSL v2" + , dest='openssl_nov2' + ) + opt.add_option( '--gdb' , action='store_true' , default=False @@ -257,6 +264,11 @@ def configure(conf): if not Options.options.without_ssl: # Don't override explicitly supplied openssl paths with pkg-config results. explicit_openssl = o.openssl_includes or o.openssl_libpath + + # Disable ssl v2 methods + if o.openssl_nov2: + conf.env.append_value("CPPFLAGS", "-DOPENSSL_NO_SSL2=1") + if not explicit_openssl and conf.check_cfg(package='openssl', args='--cflags --libs', uselib_store='OPENSSL'): |