- fix AttributeError on "use_openssl" when doing ./configure --without-ssl - error...
authorTony Metzidis <tonym@tonym.us>
Sat, 11 Sep 2010 04:37:43 +0000 (21:37 -0700)
committerRyan Dahl <ry@tinyclouds.org>
Mon, 13 Sep 2010 18:50:06 +0000 (11:50 -0700)
wscript

diff --git a/wscript b/wscript
index 9c4243c..565b286 100644 (file)
--- a/wscript
+++ b/wscript
@@ -187,6 +187,8 @@ def configure(conf):
       if libcrypto and libssl:
         conf.env["USE_OPENSSL"] = Options.options.use_openssl = True
         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')