Browse Source

Fatal error out if OpenSSL was not explicitly disabled, we just couldn't autodetect it.

v0.7.4-release
Paul Querna 14 years ago
committed by Ryan Dahl
parent
commit
2d348bb985
  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:
conf.fatal("Could not autodetect OpenSSL support. Make sure OpenSSL development packages are installed.")
else: else:
Options.options.use_openssl = conf.env["USE_OPENSSL"] = False Options.options.use_openssl = conf.env["USE_OPENSSL"] = False

Loading…
Cancel
Save