summaryrefslogtreecommitdiff
path: root/rules/build-package-way.mk
diff options
context:
space:
mode:
authorIan Lynagh <ian@well-typed.com>2013-06-22 20:34:12 +0100
committerIan Lynagh <ian@well-typed.com>2013-06-22 20:34:12 +0100
commit92f36df441052ab6bb8516cc19be65f2ca4010fd (patch)
treee8dd44605f4c3faca71bf1f3b422d40a68e0d5a0 /rules/build-package-way.mk
parent499d6988663043d0e0a0732f865324e959139927 (diff)
downloadhaskell-92f36df441052ab6bb8516cc19be65f2ca4010fd.tar.gz
Fix the dynmaic library paths in the libs, as well as in the programs
Part of #7833
Diffstat (limited to 'rules/build-package-way.mk')
-rw-r--r--rules/build-package-way.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/rules/build-package-way.mk b/rules/build-package-way.mk
index b772317bdd..780b8b0f48 100644
--- a/rules/build-package-way.mk
+++ b/rules/build-package-way.mk
@@ -91,6 +91,7 @@ $$($1_$2_$3_LIB) : $$($1_$2_$3_ALL_OBJS) $$(ALL_RTS_LIBS) $$($1_$2_$3_DEPS_LIBS)
$$(addprefix -l,$$($1_$2_EXTRA_LIBRARIES)) $$(addprefix -L,$$($1_$2_EXTRA_LIBDIRS)) \
-no-auto-link-packages \
-o $$@
+ $(call relative-dynlib-references,$1,$2,$4)
endif
else
# Build the ordinary .a library