liblogging: Depend on systemd
authorVicente Olivert Riera <Vincent.Riera@imgtec.com>
Thu, 10 Apr 2014 15:59:26 +0000 (16:59 +0100)
committerPeter Korsgaard <peter@korsgaard.com>
Thu, 10 Apr 2014 21:17:28 +0000 (23:17 +0200)
This package depends on systemd because in the configure phase it
searches for a file installed by systemd. We add systemd to it's
dependencies to ensure that is built before this package.

Fixes:
   http://autobuild.buildroot.net/results/32c/32c636020600aa3f378d326c84fac82eb1fb2871/

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/liblogging/liblogging.mk

index fa181fb78b25100b43dd43a41ab2471e5e8e0ee2..3608c400081377b6a7a5f1f9c125b4f612421acb 100644 (file)
@@ -13,6 +13,7 @@ LIBLOGGING_CONF_OPT = --enable-cached-man-pages
 
 ifeq ($(BR2_INIT_SYSTEMD),y)
 LIBLOGGING_CONF_OPT += --enable-journal
+LIBLOGGING_DEPENDENCIES += systemd
 else
 LIBLOGGING_CONF_OPT += --disable-journal
 endif