diff -rup libinput-0.3.0.orig/tools/Makefile.am libinput-0.3.0/tools/Makefile.am --- libinput-0.3.0.orig/tools/Makefile.am 2014-08-12 11:19:42.378151346 +0100 +++ libinput-0.3.0/tools/Makefile.am 2014-08-12 11:20:26.179894296 +0100 @@ -5,5 +5,5 @@ AM_CPPFLAGS = -I$(top_srcdir)/include \ event_debug_SOURCES = event-debug.c event_debug_LDADD = ../src/libinput.la $(LIBUDEV_LIBS) -event_debug_LDFLAGS = -static +event_debug_LDFLAGS = $(LDFLAGS) event_debug_CFLAGS = $(LIBUDEV_CFLAGS) diff -rup libinput-0.3.0.orig/tools/Makefile.in libinput-0.3.0/tools/Makefile.in --- libinput-0.3.0.orig/tools/Makefile.in 2014-08-12 11:19:42.378151346 +0100 +++ libinput-0.3.0/tools/Makefile.in 2014-08-12 11:20:03.371507423 +0100 @@ -309,7 +309,7 @@ AM_CPPFLAGS = -I$(top_srcdir)/include \ event_debug_SOURCES = event-debug.c event_debug_LDADD = ../src/libinput.la $(LIBUDEV_LIBS) -event_debug_LDFLAGS = -static +event_debug_LDFLAGS = $(LDFLAGS) event_debug_CFLAGS = $(LIBUDEV_CFLAGS) all: all-am