1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-25 06:04:04 +03:00
David Disseldorp c59d5e1196 build: fix standalone ctdb build --with-systemd
For standalone ctdb builds, a samba-util-core dependency is added,
without corresponding systemd libraries, which are needed when
become_daemon.c is built --with-systemd. This results in:
  default/lib/util/become_daemon_20.o: In function `daemon_status':
  become_daemon.c:(.text+0x456): undefined reference to `sd_notifyf'
  collect2: error: ld returned 1 exit status

Fix this by moving the systemd library dependencies from samba-util to
samba-util-core, the become_daemon.c base build target.

Signed-off-by: David Disseldorp <ddiss@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>

Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org>
Autobuild-Date(master): Mon Mar  5 20:49:51 CET 2018 on sn-devel-144
2018-03-05 20:49:51 +01:00
..
2016-11-16 12:41:09 +01:00
2016-05-04 01:28:23 +02:00
2016-05-04 01:28:23 +02:00
2017-08-17 08:00:23 +02:00
2016-12-02 09:36:08 +01:00
2015-07-01 17:12:48 +02:00
2017-01-22 18:30:11 +01:00
2017-09-30 08:01:24 +02:00
2015-10-13 04:25:38 +02:00
2015-10-13 04:25:38 +02:00
2017-04-18 22:54:15 +02:00
2017-04-18 22:54:15 +02:00
2017-11-20 21:41:14 +01:00
2017-11-20 21:41:14 +01:00
2016-06-07 14:34:10 +02:00
2017-03-28 17:45:18 +02:00
2008-10-12 16:27:00 +02:00
2008-10-18 15:49:11 +02:00
2018-02-22 06:13:49 +01:00
2017-03-20 12:20:08 +01:00
2015-07-07 23:51:23 +02:00
2017-01-22 18:30:11 +01:00
2017-01-22 18:30:11 +01:00
2015-10-13 01:23:07 +02:00
2015-10-13 01:23:07 +02:00
2015-02-13 23:32:07 +01:00
2015-07-07 23:51:23 +02:00
2015-07-07 23:51:23 +02:00
2017-09-26 04:38:59 +02:00
2014-12-07 00:12:07 +01:00
2011-02-10 06:51:07 +01:00
2017-11-18 00:09:16 +01:00
2017-03-28 17:45:19 +02:00
2016-04-19 09:37:14 +02:00
2017-10-27 20:33:25 +02:00

This directory contains libutil (until we can think of a better name)

The idea is that this library contains simple but useful data structures 
and support functions that are generally useful; not just for Samba but for 
other projects as well. Functions here should not depend on any external 
libraries, just on libc (perhaps partially provided by libreplace).