lib: add library for glib and gio explicitly 44/61444/1
authorTaeyoung Kim <ty317.kim@samsung.com>
Tue, 8 Mar 2016 02:44:52 +0000 (11:44 +0900)
committerTaeyoung Kim <ty317.kim@samsung.com>
Tue, 8 Mar 2016 02:44:52 +0000 (11:44 +0900)
- 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>
CMakeLists.txt
packaging/deviced.spec
src/shared/CMakeLists.txt

index f117f38..ba5a6a8 100755 (executable)
@@ -164,6 +164,7 @@ SET(PKG_MODULES
        libudev
        device-node
        capi-base-common
+       glib-2.0
        dbus-1
        gio-2.0
        eventsystem
index 768f0b8..9cb0026 100644 (file)
@@ -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)
index 4b77b74..5c6284f 100755 (executable)
@@ -7,6 +7,7 @@ SET(SHARED_SRCS
 
 INCLUDE(FindPkgConfig)
 pkg_check_modules(libshared REQUIRED
+       gio-2.0
        dlog
        dbus-1)