[openib-general] [PATCH 3/4] ofabuild Create empty archive file for libibverbs.a instead of empty file.

Steve Wise swise at opengridcomputing.com
Thu Jan 18 12:28:31 PST 2007


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

 build_ofa_user.sh |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/build_ofa_user.sh b/build_ofa_user.sh
index 2182d96..f27d286 100755
--- a/build_ofa_user.sh
+++ b/build_ofa_user.sh
@@ -184,7 +184,7 @@ ac_cv_func_ibv_dofork_range=yes \
 ac_cv_func_ibv_register_driver=yes "
 
                 echo "Running: $ENV ./configure --cache-file=${CACHEFILE} --disable-libcheck CPPFLAGS=\"-I../libibverbs/include\" LDFLAGS=\"-L.\""
-                echo > libibverbs.a
+		ar qc libibverbs.a
                 if ! ( $ENV ./configure  --cache-file=${CACHEFILE} --disable-libcheck CPPFLAGS="-I../libibverbs/include" LDFLAGS="-L." > ${conflog}.${dir} 2>&1 )
                 then
                         echo "Failed to execute: $ENV ./configure --cache-file=${CACHEFILE} --disable-libcheck CPPFLAGS=\"-I../libibverbs/include\" LDFLAGS=\"-L.\""




More information about the general mailing list