summaryrefslogtreecommitdiff
path: root/libffi
diff options
context:
space:
mode:
authorIan Lynagh <ian@well-typed.com>2013-06-22 16:52:46 +0100
committerIan Lynagh <ian@well-typed.com>2013-06-22 16:52:46 +0100
commit499d6988663043d0e0a0732f865324e959139927 (patch)
tree4b4dacd4d539b7d5f877d1a0a286d3cead95c7f9 /libffi
parent9ffe7920db654eed38f8c0e7dbfbab7e92fa9396 (diff)
downloadhaskell-499d6988663043d0e0a0732f865324e959139927.tar.gz
Run "sh ./configure" rather than "sh configure"; part of #7992
This fixes a bug with how configure re-execs itself.
Diffstat (limited to 'libffi')
-rw-r--r--libffi/ghc.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/libffi/ghc.mk b/libffi/ghc.mk
index 3cccee9c6a..ffef273ce3 100644
--- a/libffi/ghc.mk
+++ b/libffi/ghc.mk
@@ -88,7 +88,7 @@ $(libffi_STAMP_CONFIGURE): $(TOUCH_DEP)
NM=$(NM) \
CFLAGS="$(SRC_CC_OPTS) $(CONF_CC_OPTS_STAGE1) -w" \
LDFLAGS="$(SRC_LD_OPTS) $(CONF_GCC_LINKER_OPTS_STAGE1) -w" \
- "$(SHELL)" configure \
+ "$(SHELL)" ./configure \
--prefix=$(TOP)/libffi/build/inst \
--libdir=$(TOP)/libffi/build/inst/lib \
--enable-static=yes \