From: Yunjin Lee Date: Tue, 26 Jan 2016 00:34:16 +0000 (+0900) Subject: Revise dependency to fix build fail X-Git-Tag: accepted/tizen/common/20160217.170706^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fheads%2Fdevel%2Fivi;p=platform%2Fcore%2Fsecurity%2Faskuser.git Revise dependency to fix build fail Change-Id: I0784ef3bb671ddfddb3ff89a0a1e09d049c60ac8 Signed-off-by: Yunjin Lee --- 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})