kumquat-buildroot/package/libical/libical.mk
Marc Khouri bf53191d9e libical: use system time zone info
libical requires time zone information in order to make use of time
zone functions (otherwise, segfaults occur when applications call
the time zone functions). This patch:
1. forces the system to build time zone info
2. ensures libical does not build its own time zone info (this is
   the default behaviour, but the flag is added in case libical's
   default changes in the future).

Signed-off-by: Marc Khouri <marc@khouri.ca>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2016-08-11 00:02:31 +02:00

20 lines
645 B
Makefile

################################################################################
#
# libical
#
################################################################################
LIBICAL_VERSION = 1.0.1
LIBICAL_SITE = https://github.com/libical/libical/releases/download/v$(LIBICAL_VERSION)
LIBICAL_INSTALL_STAGING = YES
LIBICAL_LICENSE = MPLv1.0 or LGPLv2.1
LIBICAL_LICENSE_FILES = LICENSE
# building without this option is broken, it is used by
# Gentoo/alpinelinux as well
LIBICAL_CONF_OPTS = -DSHARED_ONLY=true
# never build time zone info, always use system's tzinfo
LIBICAL_CONF_OPTS += -DUSE_BUILTIN_TZDATA=false
$(eval $(cmake-package))