Mesa (master): mklib: Fix static library generation/installation on Solaris

Alan Coopersmith alanc at kemper.freedesktop.org
Tue Jan 19 19:06:57 PST 2010


Module: Mesa
Branch: master
Commit: 77c08003819e8e2c922271c859bceb2b9c9234b7
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=77c08003819e8e2c922271c859bceb2b9c9234b7

Author: Alan Coopersmith <alan.coopersmith at sun.com>
Date:   Tue Jan 19 18:13:14 2010 -0800

mklib: Fix static library generation/installation on Solaris

Change ar flag from -v (-verbose) to -c (silence console output)
so that it stops causing make_ar_static_lib() to return a bunch
of output other than the resulting library file.

Signed-off-by: Alan Coopersmith <alan.coopersmith at sun.com>

---

 bin/mklib |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/bin/mklib b/bin/mklib
index 9799a4e..9e6e46d 100755
--- a/bin/mklib
+++ b/bin/mklib
@@ -441,7 +441,7 @@ case $ARCH in
         if [ $STATIC = 1 ] ; then
 	    LIBNAME="lib${LIBNAME}.a"
 	    echo "mklib: Making SunOS static library: " ${LIBNAME}
-	    FINAL_LIBS=`make_ar_static_lib -ruv 0 ${LIBNAME} ${OBJECTS}`
+	    FINAL_LIBS=`make_ar_static_lib -ruc 0 ${LIBNAME} ${OBJECTS}`
 	else
 	    if [ $NOPREFIX = 0 ] ; then
 		LIBNAME="lib${LIBNAME}.so"



More information about the mesa-commit mailing list