Cygwin: Change mklib not to report the full archname on cygwin
authorJon TURNEY <jon.turney@dronecode.org.uk>
Sat, 24 Jul 2010 11:06:23 +0000 (12:06 +0100)
committerBrian Paul <brianp@vmware.com>
Wed, 1 Sep 2010 14:48:02 +0000 (08:48 -0600)
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@dronecode.org.uk>
Signed-off-by: Brian Paul <brianp@vmware.com>
bin/mklib

index e2b854f3509654561e03da57445c924039be69eb..5478ef72c8600c728ea95a1a51ec05f82dde5579 100755 (executable)
--- 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++"