[librdmacm/f13] Fix up link problem caused by change to default DSO linking (bz564870) added for arm builds but also

Paul Whalen pwhalen at fedoraproject.org
Thu Jun 2 18:42:45 UTC 2011


commit 1f5903de7f304527efe2afd189d044e6f1b3d137
Author: Paul Whalen <paul.whalen at senecac.on.ca>
Date:   Thu Jun 2 14:39:42 2011 -0400

    Fix up link problem caused by change to default DSO linking (bz564870)
    added for arm builds but also needed by primary arches

 librdmacm.spec |    8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)
---
diff --git a/librdmacm.spec b/librdmacm.spec
index 18cfeb2..dc9efcf 100644
--- a/librdmacm.spec
+++ b/librdmacm.spec
@@ -1,6 +1,6 @@
 Name: librdmacm
 Version: 1.0.10
-Release: 2%{?dist}
+Release: 3%{?dist}
 Summary: Userspace RDMA Connection Manager
 Group: System Environment/Libraries
 License: GPLv2 or BSD
@@ -40,7 +40,7 @@ Example test programs for the librdmacm library.
 %setup -q -n %{name}-%{version}
 
 %build
-%configure
+%configure LDFLAGS=-lpthread
 sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
 sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
 make %{?_smp_mflags}
@@ -79,6 +79,10 @@ rm -rf $RPM_BUILD_ROOT
 %{_mandir}/man1/*
 
 %changelog
+* Thu Jun 02 2011 Paul Whalen <paul.whalen at senecac.on.ca> - 1.0.10-3
+- Fix up link problem caused by change to default DSO linking (bz564870)
+- added for arm builds but also needed by primary arches
+
 * Mon Jan 11 2010 Doug Ledford <dledford at redhat.com> - 1.0.10-2
 - ExcludeArch s390(x) as the hardware doesn't exist there
 


More information about the scm-commits mailing list