Fix dynlib paths in the RTS too; part of #7833
authorIan Lynagh <ian@well-typed.com>
Sat, 22 Jun 2013 20:33:22 +0000 (21:33 +0100)
committerIan Lynagh <ian@well-typed.com>
Sat, 22 Jun 2013 20:33:22 +0000 (21:33 +0100)
rts/ghc.mk

index fef49d4..4cc8e8d 100644 (file)
@@ -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)