a948343f866d9ec2de235907fbd3f5099a3f5a20
[AGL/meta-agl.git] / meta-security / recipes-security / security-manager / security-manager / libcap-without-pkgconfig.patch
1 From: José Bollo <jose.bollo@iot.bzh>
2 Date: Tue, 30 Oct 2015 14:32:03 -0100
3 Subject: [PATCH] libcap without pkgconfig
4
5 Handles libcap that isn't distributed for pkg-config
6
7 ---
8  src/client/CMakeLists.txt | 1 -
9  1 file changed, 1 deletion(-)
10
11 diff --git a/src/client/CMakeLists.txt b/src/client/CMakeLists.txt
12 index 5399a55..0250ce2 100644
13 --- a/src/client/CMakeLists.txt
14 +++ b/src/client/CMakeLists.txt
15 @@ -1,7 +1,6 @@
16  PKG_CHECK_MODULES(CLIENT_DEP
17      REQUIRED
18      libsmack
19 -    libcap
20      )
21  
22  SET(CLIENT_VERSION_MAJOR 1)
23 @@ -37,6 +36,7 @@ SET_TARGET_PROPERTIES(${TARGET_CLIENT}
24  TARGET_LINK_LIBRARIES(${TARGET_CLIENT}
25      ${TARGET_COMMON}
26      ${CLIENT_DEP_LIBRARIES}
27 +    cap
28      )
29  
30  INSTALL(TARGETS ${TARGET_CLIENT} DESTINATION ${LIB_INSTALL_DIR})
31 -- 
32 2.1.4