summaryrefslogtreecommitdiff
path: root/rts/ghc.mk
diff options
context:
space:
mode:
authorIan Lynagh <igloo@earth.li>2010-07-13 14:10:34 +0000
committerIan Lynagh <igloo@earth.li>2010-07-13 14:10:34 +0000
commitd15229b75a07cf1092402f87950a1887c6429f3a (patch)
treeef7fba6dd0e221ecf97093996083f4252c647afc /rts/ghc.mk
parentdf1fecb95e3a0cf901184605da96dc8ae092b173 (diff)
downloadhaskell-d15229b75a07cf1092402f87950a1887c6429f3a.tar.gz
Change some TARGET tests to HOST tests in the RTS
Which was being used seemed to be random
Diffstat (limited to 'rts/ghc.mk')
-rw-r--r--rts/ghc.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/rts/ghc.mk b/rts/ghc.mk
index 7815e77e2e..7d475a3366 100644
--- a/rts/ghc.mk
+++ b/rts/ghc.mk
@@ -172,7 +172,7 @@ $$(rts_$1_LIB) : $$(rts_$1_OBJS) rts/libs.depend
"$$(RM)" $$(RM_OPTS) $$@
"$$(rts_dist_HC)" -package-name rts -shared -dynamic -dynload deploy \
-no-auto-link-packages `cat rts/libs.depend` $$(rts_$1_OBJS) -o $$@
-ifeq "$$(darwin_TARGET_OS)" "1"
+ifeq "$$(darwin_HOST_OS)" "1"
# Ensure library's install name is correct before anyone links with it.
install_name_tool -id $(ghclibdir)/$$(rts_$1_LIB_NAME) $$@
endif