ghc/ghc-8.0.2-Cabal-dynlibdir.patch

14 lines
669 B
Diff

Index: ghc-8.2.0.20170507/libraries/Cabal/Cabal/Distribution/Simple/InstallDirs.hs
===================================================================
--- ghc-8.2.0.20170507.orig/libraries/Cabal/Cabal/Distribution/Simple/InstallDirs.hs
+++ ghc-8.2.0.20170507/libraries/Cabal/Cabal/Distribution/Simple/InstallDirs.hs
@@ -203,7 +203,7 @@ defaultInstallDirs' False comp userInsta
JHC -> "$compiler"
LHC -> "$compiler"
UHC -> "$pkgid"
- _other -> "$abi",
+ _other -> "$compiler" </> "$pkgkey",
libexecsubdir= "$abi" </> "$pkgid",
flibdir = "$libdir",
libexecdir = case buildOS of