diff options
Diffstat (limited to 'athstatic')
-rwxr-xr-x | athstatic | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/athstatic b/athstatic deleted file mode 100755 index 051697f..0000000 --- a/athstatic +++ /dev/null @@ -1,31 +0,0 @@ -#!/bin/sh -# $Id$ - -# Usage: athstatic progname options ... - -# Replaces -lfoo options with /usr/athena/lib/libfoo.a if it exists, -# thus preferring static libraries to shared libraries for stuff in -# /usr/athena/lib. - -progname=$1 -shift - -options= -for arg do - case $arg in - -l*) - # Chop off the first two characters to get the library name. - lib=`expr "$arg" : '..\(.*\)$'` - if [ -f /usr/athena/lib/lib${lib}.a ]; then - options="$options /usr/athena/lib/lib${lib}.a" - else - options="$options $arg" - fi - ;; - *) - options="$options $arg" - ;; - esac -done - -exec "$progname" $options |