mklib: Fix static library generation/installation on Solaris
authorAlan Coopersmith <alan.coopersmith@sun.com>
Wed, 20 Jan 2010 02:13:14 +0000 (18:13 -0800)
committerAlan Coopersmith <alan.coopersmith@sun.com>
Wed, 20 Jan 2010 03:06:06 +0000 (19:06 -0800)
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@sun.com>
bin/mklib

index 9799a4e..9e6e46d 100755 (executable)
--- 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"