From d579c840a5038d45c4fecde84dc99d6b14677e20 Mon Sep 17 00:00:00 2001 From: jao Date: Sun, 11 Sep 2022 03:25:59 +0100 Subject: fix for the default, non-cairo build --- xmobar.cabal | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'xmobar.cabal') 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 -- cgit v1.2.3