Note, for later it would be nice to test booleans instead of strings.
Change-Id: I069d865c6e2cc6a80a812e60ab278af15b7eaa85
Signed-off-by: Philippe Coval <philippe.coval@osg.samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/15163
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Habib Virji <habib.virji@samsung.com>
(cherry picked from commit
f50bc6c417731a023d5bb1774ee2ecf84a7b5dca)
Reviewed-on: https://gerrit.iotivity.org/gerrit/15225
libs = []
if env.get('WITH_TCP'):
defines.append('-DTCP_ADAPTER=1')
- if env.get('SECURED'):
+ if env.get('SECURED') == '1':
defines.append('-D__WITH_TLS__=1')
-if env.get('SECURED'):
+if env.get('SECURED') == '1':
libs.append('-locpmapi')
defines.append('-D_WITH_DTLS_=1')