From 0f4668cd35c8d5c9f6636b926422570debaeeab7 Mon Sep 17 00:00:00 2001 From: jao Date: Wed, 31 Jan 2018 18:42:37 +0100 Subject: Using external iwlib --- xmobar.cabal | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'xmobar.cabal') diff --git a/xmobar.cabal b/xmobar.cabal index 9fa4cf2..854f7e3 100644 --- a/xmobar.cabal +++ b/xmobar.cabal @@ -158,7 +158,8 @@ executable xmobar if flag(with_iwlib) || flag(all_extensions) extra-libraries: iw - other-modules: IWlib, Plugins.Monitors.Wireless + build-depends: iwlib >= 0.1.0 && < 0.2 + other-modules: Plugins.Monitors.Wireless cpp-options: -DIWLIB if flag(with_mpd) || flag(all_extensions) -- cgit v1.2.3