From 3d85f7e02aae952cc9f8d0fc1a50b8c112c2c9b5 Mon Sep 17 00:00:00 2001 From: Kay Sievers Date: Fri, 8 Feb 2013 13:25:26 +0100 Subject: [PATCH] build-sys: link libudev against the internal sd-daemon lib, not the source file --- Makefile.am | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile.am b/Makefile.am index 163e8f8fee6..7885a79be8a 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1715,8 +1715,7 @@ libudev_core_la_SOURCES = \ src/udev/udev-builtin-input_id.c \ src/udev/udev-builtin-net_id.c \ src/udev/udev-builtin-path_id.c \ - src/udev/udev-builtin-usb_id.c \ - src/libsystemd-daemon/sd-daemon.c + src/udev/udev-builtin-usb_id.c libudev_core_la_CFLAGS = \ $(AM_CFLAGS) \ @@ -1726,6 +1725,7 @@ libudev_core_la_CFLAGS = \ libudev_core_la_LIBADD = \ libudev-private.la \ libsystemd-label.la \ + libsystemd-daemon-internal.la \ libsystemd-shared.la \ $(BLKID_LIBS) \ $(KMOD_LIBS)