diff options
author | Khem Raj <raj.khem@gmail.com> | 2013-01-22 18:45:00 -0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-01-24 20:09:03 +0000 |
commit | 34fb09201840246bb7c5dce747558f765e892a32 (patch) | |
tree | 543a41648933de94c168b133a41e89a7ceb9967b /meta/recipes-core/systemd/systemd/0001-test-unit-file-Add-libsystemd-daemon.la-to-LDADD.patch | |
parent | 5ec82dd8479edf2e2a703b9a01750a9869c17cb5 (diff) | |
download | poky-34fb09201840246bb7c5dce747558f765e892a32.tar.gz |
systemd: Fix build on ppc
ppc discovers an interesting issue in linking systemd where a library is
missing in link cmdline and linker barfs
./.libs/libsystemd-core.a(libsystemd_core_la-manager.o): In function
`manager_check_finished':
/builddir/build/BUILD/systemd-196/src/core/manager.c:2092: undefined
reference to `sd_notifyf'
collect2: error: ld returned 1 exit status
For more info see
https://bugzilla.redhat.com/show_bug.cgi?id=888255
(From OE-Core rev: 2e2a91025ca9c113365c810ce08b48201fe792b8)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core/systemd/systemd/0001-test-unit-file-Add-libsystemd-daemon.la-to-LDADD.patch')
-rw-r--r-- | meta/recipes-core/systemd/systemd/0001-test-unit-file-Add-libsystemd-daemon.la-to-LDADD.patch | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/meta/recipes-core/systemd/systemd/0001-test-unit-file-Add-libsystemd-daemon.la-to-LDADD.patch b/meta/recipes-core/systemd/systemd/0001-test-unit-file-Add-libsystemd-daemon.la-to-LDADD.patch new file mode 100644 index 0000000000..4cd2ee63ed --- /dev/null +++ b/meta/recipes-core/systemd/systemd/0001-test-unit-file-Add-libsystemd-daemon.la-to-LDADD.patch | |||
@@ -0,0 +1,32 @@ | |||
1 | Upstream-Status: Submitted | ||
2 | |||
3 | From f3e0a95b6b3fe516e43ec72045c2fad239184392 Mon Sep 17 00:00:00 2001 | ||
4 | From: Khem Raj <raj.khem@gmail.com> | ||
5 | Date: Tue, 22 Jan 2013 18:25:46 -0800 | ||
6 | Subject: [PATCH] test-unit-file: Add libsystemd-daemon.la to LDADD | ||
7 | |||
8 | test-unit-file links with libsystemd-core which needs | ||
9 | sd_* symbols from libsystemd-daemon | ||
10 | |||
11 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
12 | --- | ||
13 | Makefile.am | 3 ++- | ||
14 | 1 file changed, 2 insertions(+), 1 deletion(-) | ||
15 | |||
16 | diff --git a/Makefile.am b/Makefile.am | ||
17 | index 7d5bd5a..884227a 100644 | ||
18 | --- a/Makefile.am | ||
19 | +++ b/Makefile.am | ||
20 | @@ -1270,7 +1270,8 @@ test_unit_file_CFLAGS = \ | ||
21 | $(DBUS_CFLAGS) | ||
22 | |||
23 | test_unit_file_LDADD = \ | ||
24 | - libsystemd-core.la | ||
25 | + libsystemd-core.la \ | ||
26 | + libsystemd-daemon.la | ||
27 | |||
28 | test_log_SOURCES = \ | ||
29 | src/test/test-log.c | ||
30 | -- | ||
31 | 1.7.9.5 | ||
32 | |||