aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2012-08-05 12:26:38 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2012-08-07 08:17:07 +1000
commitf2c6da02429eaabf9111d54c41bf46aa19b49776 (patch)
treee236bc63c7727a895e555e15436cd749a2e70f9f
parentDon't delete the device on ENODEV (diff)
downloadxf86-input-evdev-f2c6da02429eaabf9111d54c41bf46aa19b49776.tar.gz
xf86-input-evdev-f2c6da02429eaabf9111d54c41bf46aa19b49776.tar.bz2
xf86-input-evdev-f2c6da02429eaabf9111d54c41bf46aa19b49776.zip
Link against libudev
Fixes /usr/bin/Xorg: symbol lookup error: /usr/lib64/xorg/modules/input/evdev_drv.so: undefined symbol: udev_new This doesn't appear in the default configuration as Xorg links against libudev and the symbol is defined when evdev is loaded. It can be reproduced with a HAL-enabled server. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by: Chase Douglas <chase.douglas@canonical.com> (cherry picked from commit bc8997e8120cc8d4f33f44e0734fa488f9fef3b0)
-rw-r--r--src/Makefile.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index cca1b0c..804ef73 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -30,7 +30,7 @@ AM_CPPFLAGS =-I$(top_srcdir)/include
@DRIVER_NAME@_drv_la_LTLIBRARIES = @DRIVER_NAME@_drv.la
@DRIVER_NAME@_drv_la_LDFLAGS = -module -avoid-version
-@DRIVER_NAME@_drv_la_LIBADD = $(MTDEV_LIBS)
+@DRIVER_NAME@_drv_la_LIBADD = $(MTDEV_LIBS) $(UDEV_LIBS)
@DRIVER_NAME@_drv_ladir = @inputdir@
@DRIVER_NAME@_drv_la_SOURCES = @DRIVER_NAME@.c \