summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilippe Coval <philippe.coval@osg.samsung.com>2016-12-05 17:07:21 +0100
committerPhilippe Coval <philippe.coval@osg.samsung.com>2016-12-07 08:08:55 +0100
commit13a4530853df40a44e4c5d101533fbf02653fa93 (patch)
tree6682fe3fd553b74de8f6959bef981ff2a1906b9d
parentcfa04d4ac22544bf3308f475f63ae023d4129b03 (diff)
downloadiotivity-13a4530853df40a44e4c5d101533fbf02653fa93.tar.gz
iotivity-13a4530853df40a44e4c5d101533fbf02653fa93.tar.bz2
iotivity-13a4530853df40a44e4c5d101533fbf02653fa93.zip
build: Fix to also support SECURED=0
Note, for later it would be nice to test booleans instead of strings. Change-Id: I069d865c6e2cc6a80a812e60ab278af15b7eaa85 Origin: https://gerrit.iotivity.org/gerrit/#/c/15163/ Signed-off-by: Philippe Coval <philippe.coval@osg.samsung.com>
-rw-r--r--build_common/SConscript4
1 files changed, 2 insertions, 2 deletions
diff --git a/build_common/SConscript b/build_common/SConscript
index 5236e0409..e00a62866 100644
--- a/build_common/SConscript
+++ b/build_common/SConscript
@@ -338,10 +338,10 @@ elif env.get('ROUTING') == 'EP':
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')