From e7599c3f4fe52ea55fcd2e9e799da5c12928bb5e Mon Sep 17 00:00:00 2001 From: Yuliya Kamatkova Date: Mon, 19 Jan 2015 11:30:11 -0500 Subject: [PATCH] Fixed build issue in csdk samples Fixed build issue in csdk samples scons script Change-Id: Ibdc7cba19f295f262c35d8778beabbfc72f446b1 Signed-off-by: Yuliya Kamatkova --- resource/csdk/stack/samples/linux/SimpleClientServer/SConscript | 1 + 1 file changed, 1 insertion(+) diff --git a/resource/csdk/stack/samples/linux/SimpleClientServer/SConscript b/resource/csdk/stack/samples/linux/SimpleClientServer/SConscript index 61c4bac..7fb7e44 100644 --- a/resource/csdk/stack/samples/linux/SimpleClientServer/SConscript +++ b/resource/csdk/stack/samples/linux/SimpleClientServer/SConscript @@ -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']) -- 2.7.4