tizen: Simplify missing license macro for Tizen:2.3
[platform/upstream/iotivity.git] / build_common / external_libs.scons
index 06d3e0f..1201273 100644 (file)
@@ -28,6 +28,7 @@ Import('env')
 
 target_os = env.get('TARGET_OS')
 target_arch = env.get('TARGET_ARCH')
+rd_mode = env.get('RD_MODE')
 
 # for android, doesn't distinguish 'armeabi-v7a-hard' and 'armeabi-v7a' library
 if target_os == 'android':
@@ -142,3 +143,7 @@ env.AddMethod(__install_lib, "InstallLib")
 
 if env.get('SECURED') == '1' and target_os != 'tizen':
        SConscript(os.path.join(env.get('SRC_DIR'), 'extlibs', 'sqlite3', 'SConscript'))
+
+if 'CLIENT' in rd_mode or 'SERVER' in rd_mode:
+        if target_os not in ['tizen']:
+                SConscript(os.path.join(env.get('SRC_DIR'), 'extlibs', 'sqlite3', 'SConscript'))