[systemd-devel] [PATCH] build-sys: "link" libsystemd-id128.so with libsystemd-label

Zbigniew Jędrzejewski-Szmek zbyszek at in.waw.pl
Fri Jun 28 20:34:52 PDT 2013


Fixes build on debian wheezy:
./.libs/libudev.so: undefined reference to `cg_create'

Appears to have no influence on the resulting binaries and
libraries. Cf. b5fafdf63f.
---
Hi Michael, hi Holger,

could you check if this fixes the build for you?

Best,
Zbyszek

 Makefile.am | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/Makefile.am b/Makefile.am
index 3ab1475..f5a25a8 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1999,6 +1999,7 @@ libudev_la_LDFLAGS = \
 
 libudev_la_LIBADD = \
 	libsystemd-shared.la \
+	libsystemd-label.la \
 	libsystemd-daemon-internal.la \
 	libsystemd-id128-internal.la
 
@@ -2662,6 +2663,7 @@ libsystemd_id128_la_LDFLAGS = \
 
 libsystemd_id128_la_LIBADD = \
 	libsystemd-shared.la \
+	libsystemd-label.la \
 	libsystemd-daemon-internal.la
 
 libsystemd_id128_internal_la_SOURCES = \
-- 
1.8.2.562.g931e949



More information about the systemd-devel mailing list