diff options
author | Brian <brian@yutani.localnet.net> | 2007-03-27 07:58:47 -0600 |
---|---|---|
committer | Brian <brian@yutani.localnet.net> | 2007-03-27 07:58:47 -0600 |
commit | 98abd1bbc8351c1fcb7de9fe91129c8a75a66b87 (patch) | |
tree | cb06e165af6ff59557ef879ce8413c17c2f52271 /bin/mklib | |
parent | a9455bb9a7183b89d550998858e5079a9e07e5aa (diff) | |
download | external_mesa3d-98abd1bbc8351c1fcb7de9fe91129c8a75a66b87.zip external_mesa3d-98abd1bbc8351c1fcb7de9fe91129c8a75a66b87.tar.gz external_mesa3d-98abd1bbc8351c1fcb7de9fe91129c8a75a66b87.tar.bz2 |
simplify .a suffixing
Diffstat (limited to 'bin/mklib')
-rwxr-xr-x | bin/mklib | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -212,16 +212,16 @@ case $ARCH in # finish up FINAL_LIBS="${LIBNAME}" elif [ $STATIC = 1 ] ; then - LIBNAME="lib${LIBNAME}" # prefix with "lib" - echo "mklib: Making" $ARCH "static library: " ${LIBNAME}.a + LIBNAME="lib${LIBNAME}.a" # prefix with "lib", suffix with ".a" + echo "mklib: Making" $ARCH "static library: " ${LIBNAME} LINK="ar" OPTS="-ru" - rm -f ${LIBNAME}.a + rm -f ${LIBNAME} # make lib - ${LINK} ${OPTS} ${LIBNAME}.a ${OBJECTS} - ranlib ${LIBNAME}.a + ${LINK} ${OPTS} ${LIBNAME} ${OBJECTS} + ranlib ${LIBNAME} # finish up - FINAL_LIBS=${LIBNAME}.a + FINAL_LIBS=${LIBNAME} else LIBNAME="lib${LIBNAME}" # prefix with "lib" case $ARCH in 'Linux' | 'GNU' | GNU/*) |