X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=examples%2FOICMiddle%2FSConscript;h=0840ef36fc1d44d34b6aa324c999aad4b38b3b8b;hb=1cee1631595cac6a6394ac2e0b365c6dd5a42c68;hp=8c1152d4ebf4ca09db041afef0d9bde76a0f7414;hpb=390866079e285d2c74918432c0d597d5da52f8a0;p=platform%2Fupstream%2Fiotivity.git diff --git a/examples/OICMiddle/SConscript b/examples/OICMiddle/SConscript index 8c1152d..0840ef3 100644 --- a/examples/OICMiddle/SConscript +++ b/examples/OICMiddle/SConscript @@ -24,7 +24,7 @@ Import('env') # Add third party libraries lib_env = env.Clone() -SConscript(env.get('SRC_DIR') + '/resource/third_party_libs.scons', 'lib_env') +SConscript('#resource/third_party_libs.scons', 'lib_env') examples_env = lib_env.Clone() @@ -46,11 +46,16 @@ if target_os not in ['windows', 'winrt']: # Note: 'pthread' is in libc for android. On other platform, if use # new gcc(>4.9?) it isn't required, otherwise, it's required if target_os != 'android': - examples_env.AppendUnique(LIBS = ['-lpthread']) + examples_env.AppendUnique(LIBS = ['pthread']) examples_env.AppendUnique(LIBPATH = [env.get('BUILD_DIR')]) -examples_env.PrependUnique(LIBS = ['oc', 'octbstack', 'oc_logger', 'connectivity_abstraction', - 'coap', 'rt']) +examples_env.PrependUnique(LIBS = ['coap']) +examples_env.AppendUnique(LIBS = ['connectivity_abstraction']) +examples_env.AppendUnique(LIBS = ['oc_logger']) +examples_env.AppendUnique(LIBS = ['octbstack']) +examples_env.AppendUnique(LIBS = ['oc']) +examples_env.AppendUnique(LIBS = ['rt']) + if env.get('SECURED') == '1': examples_env.AppendUnique(LIBS = ['tinydtls'])