[systemd-devel] [PATCH] Add libsystemd-id128-internal.la as link time dependency for test-engine and test_job_type

Khem Raj raj.khem at gmail.com
Fri Sep 7 20:00:25 PDT 2012


Fixes linking errors like
src/core/condition.c:207: undefined reference to `sd_id128_get_machine'

Signed-off-by: Khem Raj <raj.khem at gmail.com>
---
 Makefile.am |    6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/Makefile.am b/Makefile.am
index 7ccec67..304a990 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1137,7 +1137,8 @@ test_engine_CFLAGS = \
 test_engine_LDADD = \
 	libsystemd-core.la \
 	libsystemd-daemon.la \
-	libsystemd-dbus.la
+	libsystemd-dbus.la \
+	libsystemd-id128-internal.la
 
 test_job_type_SOURCES = \
 	src/test/test-job-type.c
@@ -1148,7 +1149,8 @@ test_job_type_CFLAGS = \
 
 test_job_type_LDADD = \
 	libsystemd-core.la \
-	libsystemd-daemon.la
+	libsystemd-daemon.la \
+	libsystemd-id128-internal.la
 
 test_ns_SOURCES = \
 	src/test/test-ns.c
-- 
1.7.9.5



More information about the systemd-devel mailing list