view darwinfixlib.sh @ 11864:ee76aa308c0a

use inttypes.h and std types, this fixes compilation problems on solaris 9 x86
author alex
date Wed, 28 Jan 2004 08:02:40 +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