summaryrefslogtreecommitdiff
path: root/rts/ghc.mk
diff options
context:
space:
mode:
authorIan Lynagh <ian@well-typed.com>2013-06-22 21:33:22 +0100
committerIan Lynagh <ian@well-typed.com>2013-06-22 21:33:22 +0100
commit7be5b44dba0fd3903d7a324f8e82cdb921d18a4f (patch)
tree17e3cb7bbe18455451759784bf61823ac267b8ad /rts/ghc.mk
parent92f36df441052ab6bb8516cc19be65f2ca4010fd (diff)
downloadhaskell-7be5b44dba0fd3903d7a324f8e82cdb921d18a4f.tar.gz
Fix dynlib paths in the RTS too; part of #7833
Diffstat (limited to 'rts/ghc.mk')
-rw-r--r--rts/ghc.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/rts/ghc.mk b/rts/ghc.mk
index fef49d4ebc..4cc8e8de34 100644
--- a/rts/ghc.mk
+++ b/rts/ghc.mk
@@ -203,6 +203,7 @@ $$(rts_$1_LIB) : $$(rts_$1_OBJS) $$(rts_$1_DTRACE_OBJS) rts/dist/libs.depend $$(
"$$(rts_dist_HC)" -package-name rts -shared -dynamic -dynload deploy \
-no-auto-link-packages $$(LIBFFI_LIBS) `cat rts/dist/libs.depend` $$(rts_$1_OBJS) \
$$(rts_$1_DTRACE_OBJS) -o $$@
+ $(call relative-dynlib-references,rts,dist,1)
endif
else
$$(rts_$1_LIB) : $$(rts_$1_OBJS) $$(rts_$1_DTRACE_OBJS)