Fix PUT and Observe relay on cloud stack
[platform/upstream/iotivity.git] / cloud / samples / client / SConscript
index ef6e214..7a4ae09 100644 (file)
@@ -42,7 +42,7 @@ cc_sample_app_env.AppendUnique(CPPPATH = [
 cc_sample_app_env.AppendUnique(CXXFLAGS = ['-O2', '-g', '-Wall', '-Wextra', '-std=c++0x', '-pthread'])
 cc_sample_app_env.AppendUnique(LIBPATH = [env.get('BUILD_DIR')])
 cc_sample_app_env.AppendUnique(RPATH = [env.get('BUILD_DIR')])
-cc_sample_app_env.PrependUnique(LIBS = ['oc', 'octbstack'])
+cc_sample_app_env.PrependUnique(LIBS = ['octbstack', 'pthread'])
 
 ######################################################################
 # Source files and Targets
@@ -52,5 +52,4 @@ cc_sample_src = [
         'sample_device.cpp',
          ]
 
-cc_client = cc_sample_app_env.Program('cloud_device', cc_sample_src)
-cc_sample_app_env.InstallTarget(cc_client, 'cloud_device')
\ No newline at end of file
+cc_client = cc_sample_app_env.Program('cloud_device', cc_sample_src)
\ No newline at end of file