From 78e9fbdb6c57aca2131c0a4c24a9e9bd0fc724d6 Mon Sep 17 00:00:00 2001 From: Sangyoon Jang Date: Mon, 17 Aug 2015 19:41:43 +0900 Subject: [PATCH] Add dependency to sqlite3 email-utilities.h from email-common-use exports sqlite3.h (from email-storage.h) but it doesn't have dependency to sqlite3 [ 113s] In file included from /home/abuild/rpmbuild/BUILD/email-service-0.10.102/email-common-use/include/email-utilities.h:35:0, [ 113s] from /home/abuild/rpmbuild/BUILD/email-service-0.10.102/email-common-use/email-utilities.c:45: [ 113s] /home/abuild/rpmbuild/BUILD/email-service-0.10.102/email-core/email-storage/include/email-storage.h:41:21: fatal error: sqlite3.h: No such file or directory [ 113s] #include Change-Id: I45fa7bd66e35929dd605efc8a9306d4ccb90dfd0 Signed-off-by: Sangyoon Jang --- email-common-use/CMakeLists.txt | 2 +- packaging/email-service.spec | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/email-common-use/CMakeLists.txt b/email-common-use/CMakeLists.txt index 060c5a8..b29ebee 100755 --- a/email-common-use/CMakeLists.txt +++ b/email-common-use/CMakeLists.txt @@ -29,7 +29,7 @@ INCLUDE_DIRECTORIES( ) INCLUDE(FindPkgConfig) -pkg_check_modules(common_pkgs REQUIRED glib-2.0 dlog dbus-1 vconf contacts-service2 uw-imap-toolkit) +pkg_check_modules(common_pkgs REQUIRED glib-2.0 dlog dbus-1 vconf contacts-service2 uw-imap-toolkit sqlite3) FOREACH(flag ${common_pkgs_CFLAGS}) SET(EXTRA_CFLAGS "${EXTRA_CFLAGS} ${flag}") diff --git a/packaging/email-service.spec b/packaging/email-service.spec index b378ddb..243cbee 100755 --- a/packaging/email-service.spec +++ b/packaging/email-service.spec @@ -61,6 +61,7 @@ BuildRequires: pkgconfig(capi-system-device) #BuildRequires: pkgconfig(vasum) BuildRequires: pkgconfig(libtzplatform-config) BuildRequires: pkgconfig(libsmack) +BuildRequires: pkgconfig(sqlite3) Requires: libtzplatform-config %description -- 2.7.4