buildrootschalter/package/liblogging/liblogging.mk
Vicente Olivert Riera bdd2075ea3 liblogging: Depend on systemd
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>
2014-04-10 23:17:28 +02:00

22 lines
595 B
Makefile

################################################################################
#
# liblogging
#
################################################################################
LIBLOGGING_VERSION = 1.0.2
LIBLOGGING_SITE = http://download.rsyslog.com/liblogging
LIBLOGGING_LICENSE = BSD-2c
LIBLOGGING_LICENSE_FILES = COPYING
LIBLOGGING_INSTALL_STAGING = YES
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
$(eval $(autotools-package))