view darwinfixlib.sh @ 8014:3d6904cee13e

The first language ripped is set as the default language by writing the langidx tag with the index of this language. patch by Arne Driescher <driescher@mpi-magdeburg.mpg.de> (accepted by Kim Minh Kaplan)
author arpi
date Fri, 01 Nov 2002 00:01:53 +0000
parents 184f37880f90
children
line wrap: on
line source

#!/bin/sh
if [ `uname -s` = 'Darwin' ]; then
  echo "Fixing libs with ranlib for Darwin (MacOSX)"
  for i in $* ; do
    if (echo $i | grep \\.a) >/dev/null 2>&1; then
      echo "ranlib $i"
      (ranlib $i) >/dev/null 2>&1
    fi
  done
fi
exit 0