diff options
author | Will Thompson <will@willthompson.co.uk> | 2012-11-14 15:16:26 +0000 |
---|---|---|
committer | Will Thompson <will@willthompson.co.uk> | 2012-11-14 15:16:26 +0000 |
commit | 6c881a4c41ffcc0f9f73c82d437d4c9a81d888ce (patch) | |
tree | eb5e0f4665e9af26889bc52e88a0d60dc5b4a9ed | |
parent | 77882394a39dab774c3908d8df9424e992ff3312 (diff) |
Explicitly check for glib 2.26.
-rw-r--r-- | Makefile | 2 | ||||
-rw-r--r-- | bustle.cabal | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -1,6 +1,6 @@ CFLAGS = -g -O2 -Wall -Wunused DBUS_FLAGS = $(shell pkg-config --cflags --libs dbus-1) -GIO_FLAGS := $(shell pkg-config --cflags --libs glib-2.0 gio-2.0 gio-unix-2.0) +GIO_FLAGS := $(shell pkg-config --cflags --libs 'glib-2.0 >= 2.26' gio-2.0 gio-unix-2.0) PCAP_FLAGS := $(shell pcap-config --cflags pcap-config --libs) DESTDIR = PREFIX = /usr/local diff --git a/bustle.cabal b/bustle.cabal index 4d08311..416b367 100644 --- a/bustle.cabal +++ b/bustle.cabal @@ -78,7 +78,7 @@ Executable bustle if flag(threaded) ghc-options: -threaded C-sources: c-sources/pcap-monitor.c - pkgconfig-depends: glib-2.0 + pkgconfig-depends: glib-2.0 >= 2.26 Build-Depends: base >= 4 && < 5 , bytestring |