summaryrefslogtreecommitdiff
path: root/docs/users_guide
diff options
context:
space:
mode:
authorTamar Christina <tamar@zhox.com>2018-01-15 12:38:45 -0500
committerBen Gamari <ben@smart-cactus.org>2018-01-15 13:53:46 -0500
commit3d17f1f10fc00540ac052f2fd03182906aa47e35 (patch)
treee7b1fdcc9c40ec09b3df8f359755485fa276830b /docs/users_guide
parent492e6044577519b59f390008362de98e9517e04d (diff)
downloadhaskell-3d17f1f10fc00540ac052f2fd03182906aa47e35.tar.gz
Tweak link order slightly to prefer user shared libs before system ones.
We currently always prefer shared libraries before import libraries and static libraries. This is because they're faster to load. The problem is when shared library are installed in the Windows directory. These would supersede any user specified ones. This is bad because e.g. Windows now ships icuuc, but an old version. If you try to use -licuuc then it would pick the Windows one instead of your user specified one. This patch slighly tweaks the ordering so user paths get prefered. Test Plan: ./validate Reviewers: RyanGlScott, hvr, bgamari Reviewed By: bgamari Subscribers: rwbarton, thomie, carter GHC Trac Issues: #14456 Differential Revision: https://phabricator.haskell.org/D4274
Diffstat (limited to 'docs/users_guide')
-rw-r--r--docs/users_guide/8.6.1-notes.rst4
1 files changed, 4 insertions, 0 deletions
diff --git a/docs/users_guide/8.6.1-notes.rst b/docs/users_guide/8.6.1-notes.rst
index ad5c5afe2c..d2d5172f2b 100644
--- a/docs/users_guide/8.6.1-notes.rst
+++ b/docs/users_guide/8.6.1-notes.rst
@@ -30,6 +30,10 @@ Compiler
Runtime system
~~~~~~~~~~~~~~
+- The GHC runtime linker now prefers user shared libraries above system ones.
+ When extra search directories are specified these are searched before anything
+ else. This fixes `iuuc` on Windows given the proper search directories (e.g
+ `-L/mingw64/lib`).
Template Haskell
~~~~~~~~~~~~~~~~