Replace glib threadpool usage with a 'dumb' thread implementation.
[platform/upstream/iotivity.git] / resource / csdk / connectivity / test / SConscript
index 42c044e..8e5d0fa 100644 (file)
@@ -55,12 +55,15 @@ catest_env.PrependUnique(LIBS = ['m',
                                     'gtest_main'])
 
 target_os = env.get('TARGET_OS')
+
+if target_os not in ['arduino', 'darwin', 'ios']:
+       catest_env.AppendUnique(LIBS=['rt'])
+
 if target_os != 'darwin':
     catest_env.PrependUnique(LIBS = ['oc_logger'])
 
 if env.get('SECURED') == '1':
     catest_env.AppendUnique(LIBS = ['tinydtls'])
-catest_env.ParseConfig('pkg-config --libs glib-2.0');
 
 if env.get('LOGGING'):
        catest_env.AppendUnique(CPPDEFINES = ['TB_LOG'])