80f7a2a0df
- seperate ghc libraries from ghc bins - enable dynamic libs for ghc * ghc-libs is further seperated into static and dynamic packages * enabling dynamic support will reduce package size as well as there performance on device. closes #5973 Signed-off-by: Aditya Alok <dev.aditya.alok@gmail.com>
12 lines
589 B
Diff
12 lines
589 B
Diff
--- ghc-8.10.7/libraries/Cabal/Cabal/Distribution/Simple/InstallDirs.hs 2021-05-25 20:11:34.000000000 +0530
|
|
+++ ghc-8.10.7-patch/libraries/Cabal/Cabal/Distribution/Simple/InstallDirs.hs 2022-02-03 22:24:07.081585076 +0530
|
|
@@ -193,7 +193,7 @@
|
|
else case buildOS of
|
|
Windows -> do windowsProgramFilesDir <- getWindowsProgramFilesDir
|
|
return (windowsProgramFilesDir </> "Haskell")
|
|
- _ -> return "/usr/local"
|
|
+ _ -> return "@TERMUX_PREFIX@"
|
|
installLibDir <-
|
|
case buildOS of
|
|
Windows -> return "$prefix"
|