summaryrefslogtreecommitdiff
path: root/rules/build-package-way.mk
diff options
context:
space:
mode:
authorGabor Pali <pali.gabor@gmail.com>2012-07-22 16:59:56 +0000
committerSimon Marlow <marlowsd@gmail.com>2012-08-08 09:10:19 +0100
commit1edad871a1bd144a825139670bfdd4352d3f7f73 (patch)
treee0bef85a21d1b4dd068bc5a7fe5f4bb7591ac424 /rules/build-package-way.mk
parent62ab993766579d3912e10e4bde6ad1d0dc11109a (diff)
downloadhaskell-1edad871a1bd144a825139670bfdd4352d3f7f73.tar.gz
Add missing flag for respecting EXTRA_LIBDIR
Diffstat (limited to 'rules/build-package-way.mk')
-rw-r--r--rules/build-package-way.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/rules/build-package-way.mk b/rules/build-package-way.mk
index cf89e1e823..18ac917099 100644
--- a/rules/build-package-way.mk
+++ b/rules/build-package-way.mk
@@ -76,7 +76,7 @@ else
$$($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_LIBRARIES)) $$(addprefix -L,$$($1_$2_EXTRA_LIBDIRS)) \
-dylib-install-name $(ghclibdir)/`basename "$$@" | sed 's/^libHS//;s/[-]ghc.*//'`/`basename "$$@"` \
-no-auto-link-packages \
-o $$@