diff options
-rwxr-xr-x | Configure | 4 | ||||
-rw-r--r-- | hints/darwin.sh | 4 |
2 files changed, 7 insertions, 1 deletions
@@ -19092,7 +19092,9 @@ if $cc -o foobar $ccflags $ldflags foo$_o bar$_a $libs > /dev/null 2>&1 && $run ./foobar >/dev/null 2>&1; then echo "$ar appears to generate random libraries itself." orderlib=false - ranlib=":" + if [ "X$ranlib" = "X" ]; then + ranlib=":" + fi elif $ar ts bar$_a >/dev/null 2>&1 && $cc -o foobar $ccflags $ldflags foo$_o bar$_a $libs > /dev/null 2>&1 && $run ./foobar >/dev/null 2>&1; then diff --git a/hints/darwin.sh b/hints/darwin.sh index 68735c7919..3e1c6034f9 100644 --- a/hints/darwin.sh +++ b/hints/darwin.sh @@ -283,6 +283,10 @@ esac # really need ODBM_FIle, though, so let's just hint ODBM away. i_dbm=undef; +# Configure doesn't detect ranlib on Tiger properly. +# NeilW says this should be acceptable on all darwin versions. +ranlib='ranlib' + ## # Build process ## |