summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTaeyoung Kim <ty317.kim@samsung.com>2016-03-08 11:44:52 +0900
committerTaeyoung Kim <ty317.kim@samsung.com>2016-03-08 11:44:52 +0900
commit7d2ba6d19afe98821cb20d4334df6908b058fe05 (patch)
treedd25460b35215cbede0d7a3fa2f09491e6c5fe4b
parenta20a327cc3652d5cd81bbd28a8198ac0260337eb (diff)
downloaddeviced-7d2ba6d19afe98821cb20d4334df6908b058fe05.tar.gz
deviced-7d2ba6d19afe98821cb20d4334df6908b058fe05.tar.bz2
deviced-7d2ba6d19afe98821cb20d4334df6908b058fe05.zip
lib: add library for glib and gio explicitly
- glib dependency is added. The library was added by other libraries. Now, the dependency is added explicitly. - gio is added to the library list of libshared.a. The library was skipped and thus link problem existed. Thus the dependency is added explicitly. Change-Id: I6fac63ea40cd6084ad3785783c297e2d193c1c7e Signed-off-by: Taeyoung Kim <ty317.kim@samsung.com>
-rwxr-xr-xCMakeLists.txt1
-rw-r--r--packaging/deviced.spec1
-rwxr-xr-xsrc/shared/CMakeLists.txt1
3 files changed, 3 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index f117f38d..ba5a6a83 100755
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -164,6 +164,7 @@ SET(PKG_MODULES
libudev
device-node
capi-base-common
+ glib-2.0
dbus-1
gio-2.0
eventsystem
diff --git a/packaging/deviced.spec b/packaging/deviced.spec
index 768f0b8d..9cb0026f 100644
--- a/packaging/deviced.spec
+++ b/packaging/deviced.spec
@@ -74,6 +74,7 @@ BuildRequires: pkgconfig(dbus-1)
BuildRequires: pkgconfig(dbus-glib-1)
BuildRequires: pkgconfig(libudev)
BuildRequires: pkgconfig(gio-2.0)
+BuildRequires: pkgconfig(glib-2.0)
BuildRequires: pkgconfig(eventsystem)
BuildRequires: pkgconfig(libtzplatform-config)
BuildRequires: pkgconfig(hwcommon)
diff --git a/src/shared/CMakeLists.txt b/src/shared/CMakeLists.txt
index 4b77b748..5c6284f7 100755
--- a/src/shared/CMakeLists.txt
+++ b/src/shared/CMakeLists.txt
@@ -7,6 +7,7 @@ SET(SHARED_SRCS
INCLUDE(FindPkgConfig)
pkg_check_modules(libshared REQUIRED
+ gio-2.0
dlog
dbus-1)