diff options
author | Duncan Coutts <duncan@well-typed.com> | 2009-05-19 12:08:01 +0000 |
---|---|---|
committer | Duncan Coutts <duncan@well-typed.com> | 2009-05-19 12:08:01 +0000 |
commit | 988bfabb5e8a3a743d03e57f2f25ca1008c6e6f1 (patch) | |
tree | 5b90375333661248a6ef7733cb728bd5c205ad48 /rules | |
parent | 527f52a72acf214994921ad36de92f934e9632da (diff) | |
download | haskell-988bfabb5e8a3a743d03e57f2f25ca1008c6e6f1.tar.gz |
Use shared lib mode -dynload deploy to build the rts and core shared libs
This is now the same as the old default. Currently we cannot embed
rpaths because they would point to the build tree. We should embed
rpaths relative to the $ORIGIN in future.
Diffstat (limited to 'rules')
-rw-r--r-- | rules/build-package-way.mk | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rules/build-package-way.mk b/rules/build-package-way.mk index 636f6410b9..0485a203cc 100644 --- a/rules/build-package-way.mk +++ b/rules/build-package-way.mk @@ -44,7 +44,7 @@ $$($1_$2_$3_LIB) : $$($1_$2_$3_HS_OBJS) $$($1_$2_dyn_C_OBJS) $$($1_$2_dyn_S_OBJS $$(RM) $$@ $$($1_$2_HC) $$($1_$2_dyn_C_OBJS) $$($1_$2_dyn_S_OBJS) $$($1_$2_$3_HS_OBJS) \ `$$($1_$2_$3_MKSTUBOBJS)` \ - -shared -dynamic \ + -shared -dynamic -dynload deploy \ -no-auto-link-packages $$(addprefix -package,$$($1_$2_DEPS)) \ -o $$@ else |