File librdmacm-need_pthread.patch of Package librdmacm

---
 Makefile.am |    2 ++
 1 file changed, 2 insertions(+)

Index: Makefile.am
===================================================================
--- Makefile.am.orig	2014-01-21 20:32:06.020996110 +0100
+++ Makefile.am	2014-01-21 20:33:00.790727559 +0100
@@ -34,10 +34,12 @@ examples_ucmatose_SOURCES = examples/cma
 examples_ucmatose_LDADD = $(top_builddir)/src/librdmacm.la
 examples_rping_SOURCES = examples/rping.c
 examples_rping_LDADD = $(top_builddir)/src/librdmacm.la
+examples_rping_LDFLAGS = -lpthread
 examples_udaddy_SOURCES = examples/udaddy.c examples/common.c
 examples_udaddy_LDADD = $(top_builddir)/src/librdmacm.la
 examples_mckey_SOURCES = examples/mckey.c
 examples_mckey_LDADD = $(top_builddir)/src/librdmacm.la
+examples_mckey_LDFLAGS = -lpthread
 examples_rdma_client_SOURCES = examples/rdma_client.c
 examples_rdma_client_LDADD = $(top_builddir)/src/librdmacm.la
 examples_rdma_server_SOURCES = examples/rdma_server.c
openSUSE Build Service is sponsored by