summaryrefslogtreecommitdiff
path: root/.gitlab
diff options
context:
space:
mode:
authorSylvain Henry <sylvain@haskus.fr>2019-03-29 20:33:16 +0100
committerMarge Bot <ben+marge-bot@smart-cactus.org>2019-04-09 12:50:15 -0400
commitfe40ddd9f960d89fbb430962f642ee9b053a0492 (patch)
treecfbce73555feb460ee325dd8244bb8e13833e5e1 /.gitlab
parent14a7870770fb2dd2e096bc13e8c927d49c868911 (diff)
downloadhaskell-fe40ddd9f960d89fbb430962f642ee9b053a0492.tar.gz
Hadrian: fix library install paths in bindist Makefile (#16498)
GHC now works out-of-the-box (i.e. without any wrapper script) by assuming that @bin@ and @lib@ directories sit next to each other. In particular, its RUNPATH uses $ORIGIN-based relative path to find the libraries. However, to be good citizens we want to support the case where @bin@ and @lib@ directories (respectively BINDIR and LIBDIR) don't sit next to each other or are renamed. To do that the install script simply creates GHC specific @bin@ and @lib@ siblings directories into: LIBDIR/ghc-VERSION/{bin,lib} Then it installs wrapper scripts into BINDIR that call the appropriate programs into LIBDIR/ghc-VERSION/bin/. The issue fixed by this patch is that libraries were not installed into LIBDIR/ghc-VERSION/lib but directly into LIBDIR.
Diffstat (limited to '.gitlab')
0 files changed, 0 insertions, 0 deletions