diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2017-06-06 17:54:18 +1000 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2017-06-06 17:55:14 +1000 |
commit | ce12ea6f9a0062e9544092968f689759f4e774c6 (patch) | |
tree | 685045bf0b18fb2893bb8fdf12ec3c6358567f38 /tools | |
parent | 56ceac34d0f42f7f9fe2715de5778b9aec810157 (diff) |
tools: fix linker error with the debug-gui
Make sure we link libudev into everything that requires it
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'tools')
-rw-r--r-- | tools/Makefile.am | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tools/Makefile.am b/tools/Makefile.am index 59714a3..907497e 100644 --- a/tools/Makefile.am +++ b/tools/Makefile.am @@ -14,9 +14,9 @@ AM_CXXFLAGS = $(GCC_CXXFLAGS) libshared_la_SOURCES = \ shared.c \ shared.h -libshared_la_CFLAGS = $(AM_CFLAGS) $(LIBEVDEV_CFLAGS) \ +libshared_la_CFLAGS = $(AM_CFLAGS) $(LIBEVDEV_CFLAGS) $(LIBUDEV_CFLAGS) \ -DLIBINPUT_TOOL_PATH="\"@libexecdir@/libinput\"" -libshared_la_LIBADD = $(LIBEVDEV_LIBS) ../src/libinput.la +libshared_la_LIBADD = $(LIBEVDEV_LIBS) $(LIBUDEV_LIBS) ../src/libinput.la ptraccel_debug_SOURCES = ptraccel-debug.c ptraccel_debug_LDADD = ../src/libfilter.la ../src/libinput.la @@ -56,8 +56,8 @@ dist_man1_MANS += libinput-measure-touchpad-tap.1 if BUILD_DEBUG_GUI tools_PROGRAMS += libinput-debug-gui libinput_debug_gui_SOURCES = libinput-debug-gui.c -libinput_debug_gui_LDADD = ../src/libinput.la libshared.la $(CAIRO_LIBS) $(GTK_LIBS) $(LIBEVDEV_LIBS) -libinput_debug_gui_CFLAGS = $(AM_CFLAGS) $(CAIRO_CFLAGS) $(GTK_CFLAGS) $(LIBEVDEV_CFLAGS) +libinput_debug_gui_LDADD = ../src/libinput.la libshared.la $(CAIRO_LIBS) $(GTK_LIBS) $(LIBEVDEV_LIBS) $(LIBUDEV_LIBS) +libinput_debug_gui_CFLAGS = $(AM_CFLAGS) $(CAIRO_CFLAGS) $(GTK_CFLAGS) $(LIBEVDEV_CFLAGS) $(LIBUDEV_CFLAGS) dist_man1_MANS += libinput-debug-gui.1 endif |