summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorIan Lynagh <ian@well-typed.com>2013-07-03 00:16:16 +0100
committerIan Lynagh <ian@well-typed.com>2013-07-03 12:13:57 +0100
commitc548fec4f11920244e81b9f83ebb2aaf7d08ba40 (patch)
tree29130a609525530f0e95ad581546a5ae9eaa2846 /configure.ac
parent448b981844da83c98d378448c063a0c11e7ff839 (diff)
downloadhaskell-c548fec4f11920244e81b9f83ebb2aaf7d08ba40.tar.gz
Change the ranlib detection
On Windows, the ranlib in the path may not be the right ranlib (it may be the 32bit ranlib when we are making a Win64 compiler, or vice-versa). Therefore we can't leave it up to libffi to detect the right ranlib, but need to tell it which ranlib to use. This means that we need to find ranlib even if we don't actually need it ourselves.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac1
1 files changed, 1 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 7bbeca6605..8d8136f756 100644
--- a/configure.ac
+++ b/configure.ac
@@ -328,6 +328,7 @@ then
CC="${mingwbin}gcc.exe"
LD="${mingwbin}ld.exe"
NM="${mingwbin}nm.exe"
+ RANLIB="${mingwbin}ranlib.exe"
OBJDUMP="${mingwbin}objdump.exe"
fp_prog_ar="${mingwbin}ar.exe"