2011-01-10 00:57:20 +01:00
|
|
|
--- xmonad.cabal.orig 2011-01-03 15:29:54.000000000 +0200
|
|
|
|
+++ xmonad.cabal 2011-01-03 15:30:55.000000000 +0200
|
|
|
|
@@ -33,6 +33,14 @@
|
2010-07-16 22:10:40 +02:00
|
|
|
description: Testing mode, only build minimal components
|
|
|
|
default: False
|
|
|
|
|
|
|
|
+flag threaded
|
|
|
|
+ description: Use threaded runtime for xmonad binary
|
|
|
|
+ default: False
|
|
|
|
+
|
|
|
|
+flag dynamic
|
|
|
|
+ description: Link xmonad binary dynamically
|
|
|
|
+ default: False
|
|
|
|
+
|
|
|
|
library
|
|
|
|
exposed-modules: XMonad
|
|
|
|
XMonad.Main
|
2011-01-10 00:57:20 +01:00
|
|
|
@@ -88,3 +96,7 @@
|
2010-07-16 22:10:40 +02:00
|
|
|
ghc-options: -Werror
|
|
|
|
if flag(testing) && flag(small_base)
|
2011-01-10 00:57:20 +01:00
|
|
|
build-depends: filepath, process, directory, mtl, unix, X11, base, containers, random, extensible-exceptions
|
2010-07-16 22:10:40 +02:00
|
|
|
+ if flag(threaded)
|
|
|
|
+ ghc-options: -threaded
|
|
|
|
+ if flag(dynamic)
|
|
|
|
+ ghc-options: -dynamic
|