summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorso.yu <so.yu@samsung.com>2013-05-14 21:25:25 +0900
committerso.yu <so.yu@samsung.com>2013-05-14 21:25:30 +0900
commite48b1784ba1227f882cdd72195e9e4ebc1b2d528 (patch)
tree276ed8f96590c6c10dc1910d1506997024c5303d
parent90e79b00dedb6224b2c5388679dc32f03825b674 (diff)
downloadsecure-storage-e48b1784ba1227f882cdd72195e9e4ebc1b2d528.tar.gz
secure-storage-e48b1784ba1227f882cdd72195e9e4ebc1b2d528.tar.bz2
secure-storage-e48b1784ba1227f882cdd72195e9e4ebc1b2d528.zip
Fix build error
Change-Id: Icf829d63ba59851bcfca6232d523da6c33dfb7c1 Signed-off-by: so.yu <so.yu@samsung.com>
-rw-r--r--CMakeLists.txt4
-rwxr-xr-xpackaging/secure-storage.spec2
2 files changed, 3 insertions, 3 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index dcd33bd..e5ce53a 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -13,7 +13,7 @@ SET(VERSION ${VERSION_MAJOR}.0.0)
INCLUDE_DIRECTORIES(${CMAKE_SOURCE_DIR}/include)
INCLUDE(FindPkgConfig)
-pkg_check_modules(pkgs REQUIRED openssl dlog)
+pkg_check_modules(pkgs REQUIRED dukgenerator)
FOREACH(flag ${pkgs_CFLAGS})
SET(EXTRA_CFLAGS "${EXTRA_CFLAGS} ${flag}")
@@ -47,7 +47,7 @@ SET(libss-client_CFLAGS " ${CFLAGS} -fPIC -I${ss_client_include_dir} -I${ss_inc
#SET(libss-client_LIBADD " ${OPENSSL_LIBS} ")
ADD_LIBRARY(ss-client SHARED ${libss-client_SOURCES})
-TARGET_LINK_LIBRARIES(ss-client ${pkgs_LDFLAGS} -ldukgenerator)
+TARGET_LINK_LIBRARIES(ss-client ${pkgs_LDFLAGS})
SET_TARGET_PROPERTIES(ss-client PROPERTIES SOVERSION ${VERSION_MAJOR})
SET_TARGET_PROPERTIES(ss-client PROPERTIES VERSION ${VERSION})
SET_TARGET_PROPERTIES(ss-client PROPERTIES COMPILE_FLAGS "${libss-client_CFLAGS}")
diff --git a/packaging/secure-storage.spec b/packaging/secure-storage.spec
index b9c415a..6757b0f 100755
--- a/packaging/secure-storage.spec
+++ b/packaging/secure-storage.spec
@@ -11,7 +11,7 @@ BuildRequires: pkgconfig(dlog)
#BuildRequires: pkgconfig(libsystemd-daemon)
BuildRequires: pkgconfig(security-server)
BuildRequires: cmake
-BuildRequires: dukgenerator-devel
+BuildRequires: pkgconfig(dukgenerator)
%description
Secure storage package