From 761ed6ad91ab018c3469c6643a5f0d90fd23535f Mon Sep 17 00:00:00 2001 From: Yunjin Lee Date: Tue, 26 Jan 2016 09:34:16 +0900 Subject: [PATCH] Revise dependency to fix build fail Change-Id: I0784ef3bb671ddfddb3ff89a0a1e09d049c60ac8 Signed-off-by: Yunjin Lee --- packaging/askuser.spec | 2 +- src/agent/CMakeLists.txt | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/packaging/askuser.spec b/packaging/askuser.spec index 581d5a9..e7d4f0a 100644 --- a/packaging/askuser.spec +++ b/packaging/askuser.spec @@ -9,7 +9,7 @@ Source1001: %{name}.manifest Source1002: libaskuser-common.manifest Source1003: askuser-plugins.manifest Source1004: askuser-test.manifest -BuildRequires: capi-security-privilege-manager-devel +BuildRequires: pkgconfig(security-privilege-manager) BuildRequires: cmake BuildRequires: gettext-tools BuildRequires: pkgconfig(capi-base-common) diff --git a/src/agent/CMakeLists.txt b/src/agent/CMakeLists.txt index 137d753..dcb71c1 100644 --- a/src/agent/CMakeLists.txt +++ b/src/agent/CMakeLists.txt @@ -1,4 +1,4 @@ -# Copyright (c) 2014-2015 Samsung Electronics Co., Ltd All Rights Reserved +# Copyright (c) 2014-2016 Samsung Electronics Co., Ltd All Rights Reserved # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -22,6 +22,7 @@ PKG_CHECK_MODULES(AGENT_DEP cynara-plugin notification libsystemd-daemon + security-privilege-manager ) SET(ASKUSER_AGENT_PATH ${ASKUSER_PATH}/agent) @@ -49,7 +50,6 @@ TARGET_LINK_LIBRARIES(${TARGET_ASKUSER} ${AGENT_DEP_LIBRARIES} ${ASKUSER_DEP_LIBRARIES} ${TARGET_ASKUSER_COMMON} - -lcapi-security-privilege-manager ) INSTALL(TARGETS ${TARGET_ASKUSER} DESTINATION ${BIN_INSTALL_DIR}) -- 2.7.4