From: Daniel Ferguson Date: Thu, 14 Jul 2016 20:51:25 +0000 (-0700) Subject: Fixed conditional logging output in Routing lib X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f10e37bba046abe4b111b2c429fc0889be46f1d3;p=contrib%2Fiotivity.git Fixed conditional logging output in Routing lib Change-Id: I5e295a016cbf7840265c92dea15ff5e9de5992b1 Signed-off-by: Daniel Ferguson Reviewed-on: https://gerrit.iotivity.org/gerrit/9401 Tested-by: jenkins-iotivity Reviewed-by: Jon A. Cruz --- diff --git a/resource/csdk/routing/SConscript b/resource/csdk/routing/SConscript index f2464b7..cf18ade 100644 --- a/resource/csdk/routing/SConscript +++ b/resource/csdk/routing/SConscript @@ -39,6 +39,9 @@ elif env.get('ROUTING') == 'EP': # Build flags ###################################################################### +if env.get('LOGGING') == '1': + local_env.AppendUnique(CPPDEFINES=['TB_LOG']) + ###################################################################### # Source files and Targets ######################################################################