fix ARCHOPT typo
authorBrian Paul <brian.paul@tungstengraphics.com>
Thu, 29 Jan 2004 14:46:16 +0000 (14:46 +0000)
committerBrian Paul <brian.paul@tungstengraphics.com>
Thu, 29 Jan 2004 14:46:16 +0000 (14:46 +0000)
bin/mklib

index 317abc06957bcf064a8f70eeab96665336117bd8..0f3bcdbcb176599f352b3ed6c02a58fa45b8e896 100755 (executable)
--- a/bin/mklib
+++ b/bin/mklib
@@ -225,11 +225,11 @@ case $ARCH in
 
     'IRIX')
        LIBNAME="lib${LIBNAME}.so"  # prefix with "lib", suffix with ".so"
-       if [ $ARCHOPTS = "64" ] ; then
+       if [ $ARCHOPT = "64" ] ; then
            # 64-bit ABI
            OPTS="-64 -shared -all"
            echo "mklib: Making IRIX 64-bit shared library: " ${LIBNAME}
-       elif [ $ARCHOPTS = "o32" ] ; then
+       elif [ $ARCHOPT = "o32" ] ; then
            # old 32-bit ABI
            OPTS="-32 -shared -all"
            echo "mklib: Making IRIX o32-bit shared library: " ${LIBNAME}