[commit: ghc] master: Fix installation (edb5303)
Ian Lynagh <[email protected]>
| Newsgroups | gmane.comp.lang.haskell.cvs.ghc |
|---|---|
| Message-ID | <[email protected]> |
Repository : ssh://darcs.haskell.org//srv/darcs/ghc On branch : master http://hackage.haskell.org/trac/ghc/changeset/edb53036e4e978064c0cf7144ae7942c382766ea >--------------------------------------------------------------- commit edb53036e4e978064c0cf7144ae7942c382766ea Author: Ian Lynagh <[email protected]> Date: Thu Oct 25 22:46:26 2012 +0100 Fix installation We were calling ranlib on the wrong path >--------------------------------------------------------------- ghc.mk | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/ghc.mk b/ghc.mk index e7903b4..8e530e2 100644 --- a/ghc.mk +++ b/ghc.mk @@ -824,7 +824,7 @@ define installLibsTo case $$i in \ *.a) \ $(call INSTALL_DATA,$(INSTALL_OPTS),$$i,$2); \ - $(RANLIB) $(DESTDIR)$(ghclibdir)/`basename $$i` ;; \ + $(RANLIB) $2/`basename $$i` ;; \ *.dll) \ $(call INSTALL_PROGRAM,$(INSTALL_OPTS),$$i,$2) ; \ $(STRIP_CMD) $2/$$i ;; \