Fixed build issue in csdk samples
authorYuliya Kamatkova <yuliya.kamatkova@intel.com>
Mon, 19 Jan 2015 16:30:11 +0000 (11:30 -0500)
committerYuliya Kamatkova <yuliya.kamatkova@intel.com>
Mon, 19 Jan 2015 16:38:18 +0000 (11:38 -0500)
Fixed build issue in csdk samples scons script

Change-Id: Ibdc7cba19f295f262c35d8778beabbfc72f446b1
Signed-off-by: Yuliya Kamatkova <yuliya.kamatkova@intel.com>
resource/csdk/stack/samples/linux/SimpleClientServer/SConscript

index 61c4bac..7fb7e44 100644 (file)
@@ -15,6 +15,7 @@ samples_env.PrependUnique(CPPPATH = [
                ])
 
 samples_env.AppendUnique(CXXFLAGS = ['-std=c++0x', '-Wall', '-pthread'])
+samples_env.AppendUnique(LIBS = ['-lpthread'])
 samples_env.AppendUnique(LIBPATH = [env.get('BUILD_DIR')])
 samples_env.PrependUnique(LIBS = ['oc', 'm', 'octbstack', 'coap', 'coap_csdk', 'oc_logger', 'connectivity_abstraction'])