summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2004-03-23 23:25:47 +0000
committerBrian Paul <brian.paul@tungstengraphics.com>2004-03-23 23:25:47 +0000
commitaaba0751d530408ce566e073d79f94d4ed8f51ed (patch)
tree329faa89e8bb3200b7f9da5c3adbe902783f9cd1
parent19bb7f71f1cef2646be2b95164792928e5b248d5 (diff)
tweaks to Darwin code
-rwxr-xr-xbin/mklib10
1 files changed, 2 insertions, 8 deletions
diff --git a/bin/mklib b/bin/mklib
index 3262e49841..f2eb1da34d 100755
--- a/bin/mklib
+++ b/bin/mklib
@@ -360,17 +360,11 @@ case $ARCH in
${LINK} ${OPTS} ${LIBNAME} ${OBJECTS}
FINAL_LIBS=${LIBNAME}
else
- VERSION="${MAJOR}.${MINOR}.${PATCH}"
LIBNAME="${LIBNAME}.dylib"
- ARNAME="${LIBNAME}.dylib.a"
- echo "mklib: Making Darwin libraries: " ${LIBNAME} ${ARNAME}
+ echo "mklib: Making Darwin libraries: " ${LIBNAME}
FLAGS="-dynamiclib -multiply_defined suppress"
cc ${FLAGS} -o ${LIBNAME} ${OBJECTS} ${DEPS}
- # also make regular .a files,
- # provided by Danek Duvall (duvall@dhduvall.student.princeton.edu)
- ar ruv ${ARNAME} ${OBJECTS}
- ranlib ${ARNAME}
- FINAL_LIBS="${ARNAME} ${LIBNAME}"
+ FINAL_LIBS=${LIBNAME}
fi
;;