Browse Source

- fix AttributeError on "use_openssl" when doing ./configure --without-ssl - error was: AttributeError: Values instance has no attribute 'use_openssl'

v0.7.4-release
Tony Metzidis 14 years ago
committed by Ryan Dahl
parent
commit
5c9b9c2e70
  1. 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…
Cancel
Save