summaryrefslogtreecommitdiff
path: root/ghc.mk
diff options
context:
space:
mode:
authorIan Lynagh <ian@well-typed.com>2012-11-13 14:49:59 +0000
committerIan Lynagh <ian@well-typed.com>2012-11-13 14:49:59 +0000
commite86dee338e1f92250332fbf63a12671b533dab79 (patch)
treea83a1461a035283152e55ebb357c93a02e3a41c0 /ghc.mk
parent30b7eba2b160b9c18fa155499de527411aa38b45 (diff)
downloadhaskell-e86dee338e1f92250332fbf63a12671b533dab79.tar.gz
Fix installing on Windows
nus in #ghc ran into a problem where the wrong filepath was being stripped.
Diffstat (limited to 'ghc.mk')
-rw-r--r--ghc.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/ghc.mk b/ghc.mk
index 2bddaebd6d..39af75cf87 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) \