summaryrefslogtreecommitdiff
path: root/rts/Makefile
diff options
context:
space:
mode:
authorIan Lynagh <igloo@earth.li>2007-10-27 14:29:14 +0000
committerIan Lynagh <igloo@earth.li>2007-10-27 14:29:14 +0000
commit541e3935bf08f96b49e61b4cf900d02776b8326f (patch)
tree6d8e41871eea6fc4148eb4d716ee135e5d029e29 /rts/Makefile
parent5263c9ab4408e3b62dbf7505ab40a81946d4e49b (diff)
downloadhaskell-541e3935bf08f96b49e61b4cf900d02776b8326f.tar.gz
We need to set _way=* in rts/ both when making and installing bindists
This is a hack, but it means we get libHSrts*.a etc rather than just libHSrts.a.
Diffstat (limited to 'rts/Makefile')
-rw-r--r--rts/Makefile8
1 files changed, 8 insertions, 0 deletions
diff --git a/rts/Makefile b/rts/Makefile
index 7e9dc08941..3cde19d173 100644
--- a/rts/Makefile
+++ b/rts/Makefile
@@ -25,6 +25,14 @@ PACKAGE = rts
HC=$(GHC_INPLACE)
+
+# Setting _way here is a nasty hack to make sure we get libHSrts*.a etc
+# rather than just libHSrts.a when we are making and installing
+# bindists.
+ifeq "$(DOING_BIN_DIST)" "YES"
+_way = *
+endif
+
# -----------------------------------------------------------------------------
# RTS ways