view darwinfixlib.sh @ 7255:34b5a0b12558

The ALT_BITSTREAM_READER code does not work on SPARC, because the code accesses 32-bit works from unaligned addresses. For now, disable ALT_BITSTREAM_READER on SPARC.
author jkeil
date Tue, 03 Sep 2002 17:15:08 +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