diff options
author | Philippe Coval <philippe.coval@osg.samsung.com> | 2016-12-05 17:07:21 +0100 |
---|---|---|
committer | Philippe Coval <philippe.coval@osg.samsung.com> | 2016-12-07 08:08:55 +0100 |
commit | 13a4530853df40a44e4c5d101533fbf02653fa93 (patch) | |
tree | 6682fe3fd553b74de8f6959bef981ff2a1906b9d | |
parent | cfa04d4ac22544bf3308f475f63ae023d4129b03 (diff) | |
download | iotivity-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/SConscript | 4 |
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') |