summaryrefslogtreecommitdiff
path: root/rules/build-package-way.mk
diff options
context:
space:
mode:
authorIan Lynagh <ian@well-typed.com>2012-10-14 01:35:54 +0100
committerIan Lynagh <ian@well-typed.com>2012-10-14 01:35:54 +0100
commitb3dacbdb7fa6881d604f4b57fa2fadf19a048304 (patch)
tree4acdca0ce85f19388adf863fc66ad24dc1f0e8c2 /rules/build-package-way.mk
parenta7c70e961208ceffd6a3a4626624740ea58dac0f (diff)
downloadhaskell-b3dacbdb7fa6881d604f4b57fa2fadf19a048304.tar.gz
Don't set dynlib install names when building
When building things to run in the build tree, we want the install name to be the location in the build tree. Bindists may be installed somewhere other than the configured install location, so we weren't even necessarily setting it to the right value.
Diffstat (limited to 'rules/build-package-way.mk')
-rw-r--r--rules/build-package-way.mk1
1 files changed, 0 insertions, 1 deletions
diff --git a/rules/build-package-way.mk b/rules/build-package-way.mk
index 9420aa4f93..c367863ce7 100644
--- a/rules/build-package-way.mk
+++ b/rules/build-package-way.mk
@@ -81,7 +81,6 @@ $$($1_$2_$3_LIB) : $$($1_$2_$3_ALL_OBJS) $$(ALL_RTS_LIBS) $$($1_$2_$3_DEPS_LIBS)
$$(call cmd,$1_$2_HC) $$($1_$2_$3_ALL_HC_OPTS) $$($1_$2_$3_ALL_OBJS) \
-shared -dynamic -dynload deploy \
$$(addprefix -l,$$($1_$2_EXTRA_LIBRARIES)) $$(addprefix -L,$$($1_$2_EXTRA_LIBDIRS)) \
- -dylib-install-name $(ghclibdir)/`basename "$$@" | sed 's/^libHS//;s/[-]ghc.*//'`/`basename "$$@"` \
-no-auto-link-packages \
-o $$@
endif