diff options
Diffstat (limited to 'recipes-extended/librdmacm/files/librdmacm-needs-libdl.patch')
-rw-r--r-- | recipes-extended/librdmacm/files/librdmacm-needs-libdl.patch | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/recipes-extended/librdmacm/files/librdmacm-needs-libdl.patch b/recipes-extended/librdmacm/files/librdmacm-needs-libdl.patch new file mode 100644 index 0000000..bf15bea --- /dev/null +++ b/recipes-extended/librdmacm/files/librdmacm-needs-libdl.patch | |||
@@ -0,0 +1,21 @@ | |||
1 | Librdmacm links against libibverbs, and the current version of libibverbs | ||
2 | uses dlopen(), so librdmacm must also link against libdl. | ||
3 | |||
4 | Upstream-Status: Pending | ||
5 | |||
6 | Signed-off-by: Donn Seeley <donn.seeley@windriver.com> | ||
7 | --- | ||
8 | configure.in | 2 ++ | ||
9 | 1 file changed, 2 insertions(+) | ||
10 | |||
11 | --- a/configure.in | ||
12 | +++ b/configure.in | ||
13 | @@ -39,6 +39,8 @@ AC_CHECK_SIZEOF(long) | ||
14 | dnl Checks for libraries | ||
15 | AC_CHECK_LIB(pthread, pthread_mutex_init, [], | ||
16 | AC_MSG_ERROR([pthread_mutex_init() not found. librdmacm requires libpthread.])) | ||
17 | +AC_CHECK_LIB(dl, dlsym, [], | ||
18 | + AC_MSG_ERROR([dlsym() not found. librdmacm requires libdl.])) | ||
19 | if test "$disable_libcheck" != "yes"; then | ||
20 | AC_CHECK_LIB(ibverbs, ibv_get_device_list, [], | ||
21 | AC_MSG_ERROR([ibv_get_device_list() not found. librdmacm requires libibverbs.])) | ||