tools: add explicit libudev dependency to event-debug

The header is pulled in by libinput.h, the libs by libinput but make this
explicit.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
Peter Hutterer 2014-05-30 14:41:23 +10:00
parent 65a89424ca
commit 42bedd689a
2 changed files with 3 additions and 1 deletions

View file

@ -3,5 +3,6 @@ noinst_PROGRAMS = event-debug
AM_CPPFLAGS = -I$(top_srcdir)/src
event_debug_SOURCES = event-debug.c
event_debug_LDADD = ../src/libinput.la
event_debug_LDADD = ../src/libinput.la $(LIBUDEV_LIBS)
event_debug_LDFLAGS = -static
event_debug_CFLAGS = $(LIBUDEV_CFLAGS)

View file

@ -30,6 +30,7 @@
#include <string.h>
#include <time.h>
#include <unistd.h>
#include <libudev.h>
#include <linux/input.h>
#include <sys/ioctl.h>
#include <sys/signalfd.h>