Link pkgmgr-info after pkgmgr-parse to fix the build error in mobile. 09/5409/2 accepted/tizen/20130703.021126 submit/tizen/20130703.012853
authorJunfeng Dong <junfeng.dong@intel.com>
Tue, 2 Jul 2013 11:07:11 +0000 (19:07 +0800)
committerJunfeng Dong <junfeng.dong@intel.com>
Tue, 2 Jul 2013 15:16:47 +0000 (23:16 +0800)
  the error is "libpkgmgr_parser.so: undefined reference to
`pkgmgrinfo_pkginfo_get_pkginfo'"

Change-Id: I1c995f5cf86ccb30996261fe1a6a315c7401d9da
Signed-off-by: Junfeng Dong <junfeng.dong@intel.com>
packaging/pkgmgr.changes
tool/CMakeLists.txt

index 68904e7..101d179 100644 (file)
@@ -1,3 +1,6 @@
+* Tue Jul 02 2013 Junfeng Dong <junfeng.dong@intel.com> accepted/tizen/20130603.181624@c6b4eaa
+- Link pkgmgr-info after pkgmgr-parse to fix the build error in mobile.
+
 * Thu Jun 27 2013 Anas Nashif <anas.nashif@intel.com> accepted/tizen/20130603.181624@3e413f3
 - Spec file clean up, install configs in /etc
 
index 28a6ae5..9d2db6b 100755 (executable)
@@ -5,7 +5,7 @@ SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${TEST_CFLAGS}")
 INCLUDE_DIRECTORIES(${CMAKE_SOURCE_DIR}/client/include)
 
 INCLUDE(FindPkgConfig)
-pkg_check_modules(pkgs_test REQUIRED ecore dbus-1 ail libxml-2.0 bundle pkgmgr-info pkgmgr-parser)
+pkg_check_modules(pkgs_test REQUIRED ecore dbus-1 ail libxml-2.0 bundle pkgmgr-parser pkgmgr-info)
 FOREACH(flag ${pkgs_test_CFLAGS})
        SET(EXTRA_CFLAGS "${EXTRA_CFLAGS} ${flag}")
 ENDFOREACH(flag)