This repository has been archived on 2024-08-07. You can view files and clone it, but cannot push or open issues/pull-requests.
2020-09-02 22:05:36 +00:00
|
|
|
This patch is required for xmonad to make use of shared libraries.
|
|
|
|
Without it, xmonad will not work since we do not (by default) use
|
|
|
|
statically linked Haskell libraries.
|
|
|
|
|
2023-01-15 09:09:44 +00:00
|
|
|
index 46a0939..5ad4f8f 100644
|
|
|
|
--- a/src/XMonad/Core.hs
|
|
|
|
+++ b/src/XMonad/Core.hs
|
|
|
|
@@ -664,6 +664,8 @@ compile dirs method =
|
|
|
|
where
|
|
|
|
ghcArgs = [ "--make"
|
|
|
|
, "xmonad.hs"
|
|
|
|
+ , "-dynamic"
|
|
|
|
+ , "-fPIC"
|
|
|
|
, "-i" -- only look in @lib@
|
|
|
|
, "-ilib"
|
|
|
|
, "-fforce-recomp"
|