mirror of https://github.com/nodejs/node.git
- fix AttributeError on "use_openssl" when doing ./configure --without-ssl - error was: AttributeError: Values instance has no attribute 'use_openssl'
parent
efdd73c8e4
commit
5c9b9c2e70
2
wscript
2
wscript
|
@ -187,6 +187,8 @@ def configure(conf):
|
||||||
if libcrypto and libssl:
|
if libcrypto and libssl:
|
||||||
conf.env["USE_OPENSSL"] = Options.options.use_openssl = True
|
conf.env["USE_OPENSSL"] = Options.options.use_openssl = True
|
||||||
conf.env.append_value("CXXFLAGS", "-DHAVE_OPENSSL=1")
|
conf.env.append_value("CXXFLAGS", "-DHAVE_OPENSSL=1")
|
||||||
|
else:
|
||||||
|
Options.options.use_openssl = conf.env["USE_OPENSSL"] = False
|
||||||
|
|
||||||
conf.check(lib='rt', uselib_store='RT')
|
conf.check(lib='rt', uselib_store='RT')
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue