Commit 541e3935 authored by Ian Lynagh's avatar Ian Lynagh

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.
parent 5263c9ab
......@@ -302,9 +302,7 @@ binary-dist::
$(MAKE) -C gmp binary-dist DOING_BIN_DIST=YES
$(MAKE) -C includes binary-dist DOING_BIN_DIST=YES
$(MAKE) -C compiler binary-dist DOING_BIN_DIST=YES $(INSTALL_STAGE)
# Setting _way here is a nasty hack to make sure we get
# libHSrts*.a etc rather than just libHSrts.a
$(MAKE) -C rts binary-dist DOING_BIN_DIST=YES _way='*'
$(MAKE) -C rts binary-dist DOING_BIN_DIST=YES
$(MAKE) -C driver binary-dist DOING_BIN_DIST=YES
$(MAKE) -C utils binary-dist DOING_BIN_DIST=YES
$(MAKE) -C docs binary-dist DOING_BIN_DIST=YES
......
......@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment