build: Require OpenSSL
refs: #2375
Change-Id: I0fe7c44b9e025bbe9a2e58cf0cab95069e668945
diff --git a/.waf-tools/openssl.py b/.waf-tools/openssl.py
index e2ba7d0..dae6a86 100644
--- a/.waf-tools/openssl.py
+++ b/.waf-tools/openssl.py
@@ -30,10 +30,11 @@
libcrypto = self.check_cxx(lib=['ssl', 'crypto'],
msg='Checking for OpenSSL library',
define_name='HAVE_%s' % var,
+ global_define=True,
uselib_store=var,
mandatory=mandatory,
- cxxflags="-I%s/include" % root,
- linkflags="-L%s/lib" % root)
+ includes="%s/include" % root,
+ libpath="%s/lib" % root)
else:
libcrypto = self.check_cxx(lib=['ssl', 'crypto'],
msg='Checking for OpenSSL library',