[openib-general] [PATCH ] ofascripts Create real libibverbs.a library instead of an empty file.

Michael S. Tsirkin mst at mellanox.co.il
Thu Jan 18 13:20:15 PST 2007


I thought we did this already. Vlad?

Quoting Steve Wise <swise at opengridcomputing.com>:
Subject: [PATCH ] ofascripts Create real libibverbs.a library instead of an empty file.


Signed-off-by: Steve Wise <swise at opengridcomputing.com>
---

 configure |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/configure b/configure
index c0ff88b..216864d 100755
--- a/configure
+++ b/configure
@@ -600,7 +600,7 @@ ac_cv_func_ibv_register_driver=yes "
                 [ ! -x ./configure ] && [ ! -x ./autogen.sh ] && continue
                 [ ! -x ./configure ] && ./autogen.sh 
         
-                echo > libibverbs.a
+		ar qc libibverbs.a
                 echo "Running: $ENV ./configure --cache-file=${CACHEFILE} --disable-libcheck ${PREFIX} ${LIBDIR} CPPFLAGS=\"-I../libibverbs/include\""
                 if ! ( $ENV ./configure --cache-file=${CACHEFILE} --disable-libcheck ${PREFIX} ${LIBDIR} \
                         CPPFLAGS="-I../libibverbs/include" LDFLAGS="-L.")

-- 
MST




More information about the general mailing list