summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWill Thompson <will@willthompson.co.uk>2012-11-14 15:16:26 +0000
committerWill Thompson <will@willthompson.co.uk>2012-11-14 15:16:26 +0000
commit6c881a4c41ffcc0f9f73c82d437d4c9a81d888ce (patch)
treeeb5e0f4665e9af26889bc52e88a0d60dc5b4a9ed
parent77882394a39dab774c3908d8df9424e992ff3312 (diff)
Explicitly check for glib 2.26.
-rw-r--r--Makefile2
-rw-r--r--bustle.cabal2
2 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 9be9b4c..16fc353 100644
--- a/Makefile
+++ b/Makefile
@@ -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