autotools: Don't link udev into everything
authorJeremy Kerr <jk@ozlabs.org>
Fri, 1 Aug 2014 03:55:45 +0000 (11:55 +0800)
committerJeremy Kerr <jk@ozlabs.org>
Tue, 5 Aug 2014 02:31:28 +0000 (10:31 +0800)
commitd1c07faf5b5979c19c4709f7195c612fb0a9dd2e
tree6be48be4aafa1c7bbde247b024ab70e692ac4c0e
parentc43847fe14e6b32cc58b8e8168f78e72ef94316d
autotools: Don't link udev into everything

By default, AC_CHECK_LIB will append to $LIBS, which is used for all
link stages. Intstead, we should popuate $UDEV_LIBS, and just use that
for the single pb-discover link stage.

Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
configure.ac
discover/Makefile.am