Change-Id: I30a868beac8e1268ccc73da1f8a1c61a206f819e
Signed-off-by: jihwan.seo <jihwan.seo@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/11033
Reviewed-by: Hyuna Jo <hyuna0213.jo@samsung.com>
Reviewed-by: Jaewook Jung <jw0213.jung@samsung.com>
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Ashok Babu Channa <ashok.channa@samsung.com>
if env.get('SECURED') == '1':
env.AppendUnique(LIBS = ['tinydtls'])
+ if env.get('WITH_TCP'):
+ env.AppendUnique(LIBS = ['mbedtls','mbedx509','mbedcrypto'])
-if env.get('WITH_TCP'):
- env.AppendUnique(LIBS = ['mbedtls','mbedx509','mbedcrypto'])
# From android-5 (API > 20), all application must be built with flags '-fPIE' '-pie'.
# Due to the limitation of Scons, it's required to added it into the command line
# directly (otherwise, it will also be added when build share library)