summaryrefslogtreecommitdiffstats
path: root/BeOS/ar-fake
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1999-01-04 16:49:09 (GMT)
committerGuido van Rossum <guido@python.org>1999-01-04 16:49:09 (GMT)
commite89d4506c14fdfbd3963b99ed3d7199846a94a7c (patch)
tree750f174613a5bbee420e140d8c746c80d38f138e /BeOS/ar-fake
parentcad3d47f1e3aeeccf0394a2fb4642ed934751c90 (diff)
downloadcpython-e89d4506c14fdfbd3963b99ed3d7199846a94a7c.zip
cpython-e89d4506c14fdfbd3963b99ed3d7199846a94a7c.tar.gz
cpython-e89d4506c14fdfbd3963b99ed3d7199846a94a7c.tar.bz2
Chris Herborth writes:
Here's a little cleanup of the BeOS/ directory for 1.5.2b2; it makes the ar-fake, linkcc and linkmodule shell scripts a little smarter (and, in the case of PowerPC systems, quieter :-).
Diffstat (limited to 'BeOS/ar-fake')
-rwxr-xr-xBeOS/ar-fake3
1 files changed, 2 insertions, 1 deletions
diff --git a/BeOS/ar-fake b/BeOS/ar-fake
index a4c1f7f..687a9b5 100755
--- a/BeOS/ar-fake
+++ b/BeOS/ar-fake
@@ -48,6 +48,7 @@ is_abs() {
# PowerPC or x86 systems running BeOS.
build_lib() {
LIB=$1 ; shift
+ SO_LIB=${LIB/.a/.so}
SO_NAME=$1 ; shift
CRUD_NAME=$1 ; shift
@@ -79,7 +80,7 @@ build_lib() {
PARTS="$PARTS ${OBJ_PATH}${OBJ_FILE}"
done < $CRUD_NAME
- $AR_CC -o ${LIB%.a}.so $PARTS $AR_GLUE $EXTRA_LIBS > /dev/null 2>&1
+ $AR_CC -o $SO_LIB $PARTS $AR_GLUE $EXTRA_LIBS > /dev/null 2>&1
return 0
}