sr/srd/cli: require glib version >= 2.28
Needed for g_get_monotonic_time(). Thanks to Tomaž Šolc.
This commit is contained in:
parent
eabf24035b
commit
e21e846330
2
README
2
README
|
@ -21,7 +21,7 @@ Requirements
|
|||
- automake >= 1.11
|
||||
- libtool
|
||||
- pkg-config >= 0.22
|
||||
- libglib >= 2.22.0
|
||||
- libglib >= 2.28.0
|
||||
- libusb >= 1.0.5 (for most logic analyzer hardware)
|
||||
- libzip >= 0.8
|
||||
- libftdi >= 0.16 (for some logic analyzer hardware)
|
||||
|
|
|
@ -181,7 +181,7 @@ SR_PKGLIBS=""
|
|||
|
||||
# libglib-2.0 is always needed.
|
||||
# Note: glib-2.0 is part of the libsigrok API (hard pkg-config requirement).
|
||||
AM_PATH_GLIB_2_0([2.22.0],
|
||||
AM_PATH_GLIB_2_0([2.28.0],
|
||||
[CFLAGS="$CFLAGS $GLIB_CFLAGS"; LIBS="$LIBS $GLIB_LIBS"])
|
||||
|
||||
# libgthread-2.0 is always needed (e.g. for the demo hardware driver).
|
||||
|
|
Loading…
Reference in New Issue