Commit 5c6ced55 authored by kgardas's avatar kgardas Committed by Austin Seipp
Browse files

fix build failure on Solaris 10 due to RANLIB being set to ':' by configure (#8795)

Signed-off-by: default avatarAustin Seipp <>
parent 43c314c7
...@@ -1137,6 +1137,16 @@ AC_DEFUN([FP_PROG_AR_NEEDS_RANLIB],[ ...@@ -1137,6 +1137,16 @@ AC_DEFUN([FP_PROG_AR_NEEDS_RANLIB],[
esac esac
fi fi
# workaround for AC_PROG_RANLIB which sets RANLIB to `:' when
# ranlib is missing on the target OS. The problem is that
# ghc-cabal cannot execute `:' which is a shell built-in but can
# execute `true' which is usually simple program supported by the
# OS.
# Fixes #8795
if test "$RANLIB" = ":"
if test $fp_cv_prog_ar_needs_ranlib = yes if test $fp_cv_prog_ar_needs_ranlib = yes
then then
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment