Replace glib threadpool usage with a 'dumb' thread implementation.
[platform/upstream/iotivity.git] / resource / SConscript
index cacd5d4..e9cddf5 100644 (file)
@@ -30,6 +30,9 @@ Import('env')
 target_os = env.get('TARGET_OS')
 src_dir = env.get('SRC_DIR')
 
+if target_os not in ['arduino', 'darwin', 'ios']:
+       env.AppendUnique(LIBS=['rt'])
+
 # Build libcoap
 SConscript('csdk/connectivity/lib/libcoap-4.1.1/SConscript')