Commit | Line | Data |
---|---|---|
57983029 TS |
1 | This patch is required for xmonad to make use of shared libraries. |
2 | Without it, xmonad will not work since we do not (by default) use | |
3 | statically linked Haskell libraries. | |
4 | ||
5 | diff -ruN xmonad-0.15-a/src/XMonad/Core.hs xmonad-0.15-b/src/XMonad/Core.hs | |
6 | --- xmonad-0.15-a/src/XMonad/Core.hs 1969-12-31 19:00:00.000000000 -0500 | |
7 | +++ xmonad-0.15-b/src/XMonad/Core.hs 1969-12-31 19:00:00.000000000 -0500 | |
8 | @@ -681,6 +681,8 @@ | |
9 | compileGHC bin dir errHandle = | |
10 | runProcess "ghc" ["--make" | |
11 | , "xmonad.hs" | |
12 | + , "-dynamic" | |
13 | + , "-fPIC" | |
14 | , "-i" | |
15 | , "-ilib" | |
16 | , "-fforce-recomp" |