| 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 | index 46a0939..5ad4f8f 100644 |
| 6 | |
| 7 | |
| 8 | compile dirs method = |
| 9 | where |
| 10 | ghcArgs = [ "--make" |
| 11 | , "xmonad.hs" |
| 12 | + , "-dynamic" |
| 13 | + , "-fPIC" |
| 14 | , "-i" -- only look in @lib@ |
| 15 | , "-ilib" |
| 16 | , "-fforce-recomp" |