projects/guix·blob python-team · refs

16 lines · 513 B

1This patch is required for xmonad to make use of shared libraries.
2Without it, xmonad will not work since we do not (by default) use
3statically linked Haskell libraries.
4
5index 46a0939..5ad4f8f 100644
6--- a/src/XMonad/Core.hs
7+++ b/src/XMonad/Core.hs
8@@ -664,6 +664,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"