mirror of
https://gitlab.freedesktop.org/libinput/libinput.git
synced 2026-02-04 04:40:25 +01:00
configure: add libudev dependency
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
parent
2ee299afcc
commit
48608f1f6a
2 changed files with 4 additions and 1 deletions
|
|
@ -43,6 +43,7 @@ AC_CHECK_DECL(CLOCK_MONOTONIC,[],
|
|||
|
||||
PKG_PROG_PKG_CONFIG()
|
||||
PKG_CHECK_MODULES(MTDEV, [mtdev >= 1.1.0])
|
||||
PKG_CHECK_MODULES(LIBUDEV, [libudev])
|
||||
|
||||
if test "x$GCC" = "xyes"; then
|
||||
GCC_CFLAGS="-Wall -Wextra -Wno-unused-parameter -g -Wstrict-prototypes -Wmissing-prototypes -fvisibility=hidden"
|
||||
|
|
|
|||
|
|
@ -16,8 +16,10 @@ libinput_la_SOURCES = \
|
|||
udev-seat.c \
|
||||
udev-seat.h
|
||||
|
||||
libinput_la_LIBADD = $(MTDEV_LIBS)
|
||||
libinput_la_LIBADD = $(MTDEV_LIBS) \
|
||||
$(LIBUDEV_LIBS)
|
||||
libinput_la_CFLAGS = $(MTDEV_CFLAGS) \
|
||||
$(LIBUDEV_CFLAGS) \
|
||||
$(GCC_CFLAGS)
|
||||
|
||||
pkgconfigdir = $(libdir)/pkgconfig
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue