summaryrefslogtreecommitdiff
path: root/meta-openembedded/meta-networking/recipes-extended/corosync/corosync/0001-configure.ac-fix-pkgconfig-issue-of-rdma.patch
blob: bdc7645ce652d089e49c3f591829d3d8f061df8b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
Subject: [PATCH] configure.ac: fix pkgconfig issue of rdma

pkgconfig files from rdma-core(https://github.com/linux-rdma/rdma-core)
are named start with lib, such as librdmacm.pc and libibverbs.pc. When
rdma support is enabled, it fails to find rdma related libraries. Update
configure.ac to the issue.

Upstream-Status: Submitted [https://github.com/corosync/corosync/pull/515]

Signed-off-by: Kai Kang <kai.kang@windriver.com>
---
 configure.ac | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/configure.ac b/configure.ac
index ac513e93..240cfed4 100644
--- a/configure.ac
+++ b/configure.ac
@@ -459,8 +459,8 @@ if test "x${enable_testagents}" = xyes; then
 fi
 
 if test "x${enable_rdma}" = xyes; then
-	PKG_CHECK_MODULES([rdmacm],[rdmacm])
-	PKG_CHECK_MODULES([ibverbs],[ibverbs])
+	PKG_CHECK_MODULES([rdmacm],[librdmacm])
+	PKG_CHECK_MODULES([ibverbs],[libibverbs])
 	AC_DEFINE_UNQUOTED([HAVE_RDMA], 1, [have rdmacm])
 	PACKAGE_FEATURES="$PACKAGE_FEATURES rdma"
 	WITH_LIST="$WITH_LIST --with rdma"
-- 
2.20.1