fix the easy-setup mediator SConscript
[platform/upstream/iotivity.git] / service / easy-setup / mediator / richsdk / SConscript
old mode 100755 (executable)
new mode 100644 (file)
index 87ed3a4..b428dde
@@ -62,7 +62,7 @@ easy_setup_env.AppendUnique(CPPPATH = ['inc', 'src', '../../inc'])
 if target_os not in ['windows']:
     easy_setup_env.AppendUnique(CXXFLAGS = ['-Wall', '-std=c++0x'])
 
-if target_os in ['linux']:
+if target_os in ['linux','tizen']:
    easy_setup_env.AppendUnique(LIBS = ['pthread', 'dl', 'coap'])
 
 if target_os in ['android']:
@@ -85,11 +85,12 @@ if target_os in ['linux', 'tizen']:
        if env.get('SECURED') == '1':
                easy_setup_env.AppendUnique(LIBS = ['ocpmapi', 'ocprovision'])
 
-if target_os in ['android','linux', 'ios']:
+if target_os in ['android','ios','linux','tizen']:
        easy_setup_env.PrependUnique(CPPPATH = [
                env.get('SRC_DIR') + '/resource/c_common/oic_malloc/include',
                env.get('SRC_DIR') + '/resource/include',
                env.get('SRC_DIR') + '/resource/csdk/logger/include',
+               env.get('SRC_DIR') + '/resource/csdk/include',
                env.get('SRC_DIR') + '/resource/csdk/stack/include',
                env.get('SRC_DIR') + '/resource/csdk/logger/include',
                env.get('SRC_DIR') + '/resource/csdk/security/include',