Skip to content

Commit 5c9b9c2

Browse files
tonymetry
authored andcommitted
- fix AttributeError on "use_openssl" when doing ./configure --without-ssl - error was: AttributeError: Values instance has no attribute 'use_openssl'
1 parent efdd73c commit 5c9b9c2

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

wscript

+2
Original file line numberDiff line numberDiff line change
@@ -187,6 +187,8 @@ def configure(conf):
187187
if libcrypto and libssl:
188188
conf.env["USE_OPENSSL"] = Options.options.use_openssl = True
189189
conf.env.append_value("CXXFLAGS", "-DHAVE_OPENSSL=1")
190+
else:
191+
Options.options.use_openssl = conf.env["USE_OPENSSL"] = False
190192

191193
conf.check(lib='rt', uselib_store='RT')
192194

0 commit comments

Comments
 (0)