Mesa (master): Cygwin: Change mklib not to report the full archname on cygwin

Brian Paul brianp at kemper.freedesktop.org
Wed Sep 1 14:49:38 UTC 2010


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

Author: Jon TURNEY <jon.turney at dronecode.org.uk>
Date:   Sat Jul 24 12:06:23 2010 +0100

Cygwin: Change mklib not to report the full archname on cygwin

Change mklib not to report the full archname when building a library for cygwin
(which is something like 'CYGWIN_NT-5.1' or 'CYGWIN_NT-6.1-WOW64' and kind of
confusing), but just 'CYGWIN'.

Signed-off-by: Jon TURNEY <jon.turney at dronecode.org.uk>
Signed-off-by: Brian Paul <brianp at vmware.com>

---

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

diff --git a/bin/mklib b/bin/mklib
index e2b854f..5478ef7 100755
--- a/bin/mklib
+++ b/bin/mklib
@@ -946,7 +946,7 @@ case $ARCH in
 
         if [ $STATIC = 1 ] ; then
 	    LIBNAME=${LIBNAME}.a
-            echo "mklib: Making" $ARCH "static library: " ${LIBNAME}
+            echo "mklib: Making CYGWIN static library: " ${LIBNAME}
             OPTS="-ru"
             if [ "${ALTOPTS}" ] ; then
                 OPTS=${ALTOPTS}
@@ -964,7 +964,7 @@ case $ARCH in
             if [ "${ALTOPTS}" ] ; then
                 OPTS=${ALTOPTS}
             fi
-            echo "mklib: Making" $ARCH "shared library: " ${CYGNAME}-${MAJOR}.dll
+            echo "mklib: Making CYGWIN shared library: " ${CYGNAME}-${MAJOR}.dll
 
             if [ $CPLUSPLUS = 1 ] ; then
                 LINK="g++"




More information about the mesa-commit mailing list