[commit: ghc] master: Fix installing on Windows (e86dee3)

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/e86dee338e1f92250332fbf63a12671b533dab79

>---------------------------------------------------------------

commit e86dee338e1f92250332fbf63a12671b533dab79
Author: Ian Lynagh <[email protected]>
Date:   Tue Nov 13 14:49:59 2012 +0000

    Fix installing on Windows
    
    nus in #ghc ran into a problem where the wrong filepath was being
    stripped.

>---------------------------------------------------------------

 ghc.mk |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/ghc.mk b/ghc.mk
index 2bddaeb..39af75c 100644
--- a/ghc.mk
+++ b/ghc.mk
@@ -839,7 +839,7 @@ define installLibsTo
 		    $(RANLIB) $2/`basename $$i` ;; \
 		  *.dll) \
 		    $(call INSTALL_PROGRAM,$(INSTALL_OPTS),$$i,$2) ; \
-		    $(STRIP_CMD) $2/$$i ;; \
+		    $(STRIP_CMD) $2/`basename $$i` ;; \
 		  *.so) \
 		    $(call INSTALL_SHLIB,$(INSTALL_OPTS),$$i,$2) ;; \
 		  *.dylib) \
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.