Android Base API merge to master
[contrib/iotivity.git] / resource / SConscript
index cacd5d4..9f96e77 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', 'android']:
+       env.AppendUnique(LIBS=['rt'])
+
 # Build libcoap
 SConscript('csdk/connectivity/lib/libcoap-4.1.1/SConscript')