Skip to content

Commit

Permalink
Run "sh ./configure" rather than "sh configure"; part of #7992
Browse files Browse the repository at this point in the history
This fixes a bug with how configure re-execs itself.
  • Loading branch information
Ian Lynagh committed Jun 22, 2013
1 parent 9ffe792 commit 499d698
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libffi/ghc.mk
Expand Up @@ -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 \
Expand Down

0 comments on commit 499d698

Please sign in to comment.