Fix bug in resource/csdk/security/unittest/SConscript
authorDaniel Ferguson <daniel.j.ferguson@intel.com>
Mon, 6 Jun 2016 21:23:23 +0000 (14:23 -0700)
committerDavid Antler <david.a.antler@intel.com>
Wed, 8 Jun 2016 17:30:51 +0000 (17:30 +0000)
Change-Id: I5b3eaad9923cdf0f25f1b92cc0a4e9ab9276f284
Signed-off-by: Daniel Ferguson <daniel.j.ferguson@intel.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/8507
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: David Antler <david.a.antler@intel.com>
resource/csdk/security/unittest/SConscript

index 61ebcf37caa07958dd80f0853835499eb9cedd94..04dce0ac8ca4901fc1a2931f257ec1a7f6e0a2ca 100644 (file)
@@ -65,7 +65,7 @@ srmtest_env.PrependUnique(LIBS = ['ocsrm',
 if env.get('SECURED') == '1':
     srmtest_env.AppendUnique(LIBS = ['tinydtls', 'timer'])
 
-if env.get('LOGGING'):
+if env.get('LOGGING') == '1':
        srmtest_env.AppendUnique(CPPDEFINES = ['TB_LOG'])
 
 if target_os == 'windows':