tizen: Don't build sqlite sources 14/95214/2
authorPhilippe Coval <philippe.coval@osg.samsung.com>
Thu, 6 Oct 2016 11:46:03 +0000 (13:46 +0200)
committerPhil Coval <philippe.coval@osg.samsung.com>
Wed, 26 Oct 2016 08:36:01 +0000 (08:36 +0000)
As Tizen already ship sqlite package

Change-Id: Ic39c41f5ae07fab2c2ff820283c871489d3fd15c
Bug: https://jira.iotivity.org/browse/IOT-1296
Signed-off-by: Philippe Coval <philippe.coval@osg.samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/12895
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Jaehong Jo <jaehong.jo@samsung.com>
resource/csdk/resource-directory/SConscript

index 83d809b..ff0b2ee 100755 (executable)
@@ -69,10 +69,11 @@ RD_SRC_DIR = 'src/'
 rd_src = []
 if 'SERVER' in rd_mode:
     rd_src += [
-            '../../../extlibs/sqlite3/sqlite3.c',
             RD_SRC_DIR + 'internal/rd_database.c',
             RD_SRC_DIR + 'rd_server.c',
             ]
+    if target_os not in ['tizen'] :
+        rd_src += [ '../../../extlibs/sqlite3/sqlite3.c' ]
 if 'CLIENT' in rd_mode:
     rd_src += [RD_SRC_DIR + 'rd_client.c',]