mirror of
https://gitlab.freedesktop.org/libinput/libinput.git
synced 2026-01-07 21:40:36 +01:00
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:
parent
65a89424ca
commit
42bedd689a
2 changed files with 3 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue