Replace glib threadpool usage with a 'dumb' thread implementation.
[platform/upstream/iotivity.git] / build_common / linux / SConscript
index 4f0722a..5c67e25 100644 (file)
@@ -21,10 +21,9 @@ env.AppendUnique(CFLAGS = ['-std=c99'])
 env.AppendUnique(CCFLAGS = ['-Wall', '-fPIC'])
 env.AppendUnique(LINKFLAGS = ['-ldl', '-lpthread'])
 
-env.ParseConfig("pkg-config glib-2.0 gthread-2.0 --cflags --libs")
-
 if env.get('TARGET_OS') == 'tizen':
     env.AppendUnique(CCFLAGS = ['-D__TIZEN__', '-DSLP_SDK_LOG', '-D_GNU_SOURCE', '-DTIZEN_DEBUG_ENABLE'])
+    env.ParseConfig("pkg-config glib-2.0 gthread-2.0 --cflags --libs")
     env.ParseConfig("pkg-config dlog --cflags --libs")
 
 # Set arch flags