Fix the build error for tizen 5.5's dlog format
[platform/upstream/iotivity.git] / resource / csdk / SConscript
index 5420d98..f12a87a 100644 (file)
@@ -94,6 +94,9 @@ liboctbstack_env.AppendUnique(LIBPATH = [env.get('BUILD_DIR')])
 
 liboctbstack_env.PrependUnique(LIBS = ['ocsrm', 'coap'])
 
+if target_os in ['tizen']:
+    liboctbstack_env.AppendUnique(LIBS = ['pthread'])
+
 if target_os in ['linux'] and liboctbstack_env.get('SIMULATOR', False):
        liboctbstack_env.Append( RPATH = liboctbstack_env.Literal('\\$$ORIGIN'))