From ceadabb102b05b237bfab11e1f742975ee4daeb1 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Micha=C5=82=20G=C3=B3rny?= Date: Mon, 30 Sep 2013 10:08:09 +0200 Subject: [PATCH 1/1] build-sys: link libsystemd-login with libsystemd-label.la MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit libsystemd-login.la uses cg_create() that currently seems to be a part of libsystemd-label.la. However, it doesn't link against that library and it seems that none of the (unconditional) libraries it uses do. In the end, people end up getting «undefined reference to `cg_create'» when trying to build e.g. dbus. --- Makefile.am | 1 + 1 file changed, 1 insertion(+) diff --git a/Makefile.am b/Makefile.am index 92de1630b..af4e21553 100644 --- a/Makefile.am +++ b/Makefile.am @@ -3919,6 +3919,7 @@ libsystemd_login_la_LDFLAGS = \ libsystemd_login_la_LIBADD = \ libsystemd-shared.la \ libsystemd-daemon-internal.la \ + libsystemd-label.la \ $(RT_LIBS) libsystemd_login_internal_la_SOURCES = \ -- 2.30.2