kumquat-buildroot/package/monit/monit.mk
Yann E. MORIN 03f388619a package/monit: do not forcibly build a static binary
Static linking with glibc is not really supported, because of the NSS
libraries that are still to be dynamically-loaded at runtime.

Also, Buildroot explicitly does not support statically linking with
glibc.

Reported-by: Peter Kümmel <syntheticpp@gmx.net>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2014-09-06 23:31:20 +02:00

42 lines
910 B
Makefile

################################################################################
#
# monit
#
################################################################################
MONIT_VERSION = 5.7
MONIT_SITE = http://mmonit.com/monit/dist
MONIT_LICENSE = AGPLv3 with OpenSSL exception
MONIT_LICENSE_FILES = COPYING
#
# Touching Makefile.am:
MONIT_AUTORECONF = YES
# Missing m4/ directory in the source tree
define MONIT_M4
mkdir $(@D)/m4
endef
MONIT_POST_PATCH_HOOKS += MONIT_M4
MONIT_CONF_ENV = \
libmonit_cv_setjmp_available=yes \
libmonit_cv_vsnprintf_c99_conformant=yes
MONIT_CONF_OPT += \
--without-pam
ifeq ($(BR2_PACKAGE_OPENSSL),y)
MONIT_CONF_OPT += --with-ssl=$(STAGING_DIR)/usr
MONIT_DEPENDENCIES += openssl
else
MONIT_CONF_OPT += --without-ssl
endif
ifeq ($(BR2_LARGEFILE),y)
MONIT_CONF_OPT += --with-largefiles
else
MONIT_CONF_OPT += --without-largefiles
endif
$(eval $(autotools-package))