summaryrefslogtreecommitdiffhomepage
path: root/xmobar.cabal
diff options
context:
space:
mode:
Diffstat (limited to 'xmobar.cabal')
-rw-r--r--xmobar.cabal4
1 files changed, 3 insertions, 1 deletions
diff --git a/xmobar.cabal b/xmobar.cabal
index 31a36b4..c19b71d 100644
--- a/xmobar.cabal
+++ b/xmobar.cabal
@@ -146,7 +146,6 @@ library
Xmobar.X11.Types,
Xmobar.X11.Window,
Xmobar.X11.XRender,
- Xmobar.X11.XlibDraw,
Xmobar.Plugins.Command,
Xmobar.Plugins.BufferedPipeReader,
Xmobar.Plugins.CommandReader,
@@ -245,6 +244,9 @@ library
x-c2hs-header: xmobar-gtk2hs.h
cpp-options: -DCAIRO
+ if !flag(with_cairo) || flag(with_xft)
+ other-modules: Xmobar.X11.XlibDraw
+
if flag(with_inotify) || flag(all_extensions)
build-depends: hinotify >= 0.3 && < 0.5
other-modules: Xmobar.Plugins.Mail, Xmobar.Plugins.MBox