Skip to content

Commit 2d348bb

Browse files
pquernary
authored andcommitted
Fatal error out if OpenSSL was not explicitly disabled, we just couldn't autodetect it.
1 parent 27af64e commit 2d348bb

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

wscript

Lines changed: 2 additions & 0 deletions
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+
conf.fatal("Could not autodetect OpenSSL support. Make sure OpenSSL development packages are installed.")
190192
else:
191193
Options.options.use_openssl = conf.env["USE_OPENSSL"] = False
192194

0 commit comments

Comments
 (0)