Add the symbols for mBedTLS if building a secure build
Change-Id: Ibbe2387307bc432193daaa2b7f88491cb18687bd
Signed-off-by: George Nash <george.nash@intel.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/14687
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Kevin Kane <kkane@microsoft.com>
Reviewed-by: Phil Coval <philippe.coval@osg.samsung.com>
Reviewed-by: Rick Bell <richard.s.bell@intel.com>
if env.get('LOGGING'):
env.AppendUnique(CPPDEFINES = ['TB_LOG'])
+if env.get('SECURED') == '1':
+ env.AppendUnique(LIBS = ['mbedtls', 'mbedx509', 'mbedcrypto'])
+
if target_os == 'darwin':
sys_root = tc_path + '/Platforms/MacOSX.platform/Developer/SDKs/MacOSX' + sys_version + '.sdk/'
else: