chiark / gitweb /
input_id: Fix linking
authorMartin Pitt <martin.pitt@ubuntu.com>
Wed, 10 Mar 2010 11:17:03 +0000 (12:17 +0100)
committerMartin Pitt <martin.pitt@ubuntu.com>
Wed, 10 Mar 2010 11:17:03 +0000 (12:17 +0100)
Link against libudev-private.a instead of libudev.a, to avoid runtime
dependency to libudev.

Makefile.am

index 471c5dd..99a0133 100644 (file)
@@ -239,7 +239,7 @@ dist_udevrules_DATA += extras/floppy/60-floppy.rules
 # input_id - import input device class
 # ------------------------------------------------------------------------------
 extras_input_id_input_id_SOURCES = extras/input_id/input_id.c
-extras_input_id_input_id_LDADD = libudev/libudev.la
+extras_input_id_input_id_LDADD = libudev/libudev-private.la
 libexec_PROGRAMS += extras/input_id/input_id
 
 # ------------------------------------------------------------------------------