aboutsummaryrefslogtreecommitdiff
path: root/package/monit/monit.mk
diff options
context:
space:
mode:
authorGravatar Yann E. MORIN <yann.morin.1998@free.fr>2014-09-05 13:44:41 +0200
committerGravatar Peter Korsgaard <peter@korsgaard.com>2014-09-06 23:31:20 +0200
commit03f388619a4dfa2835774702a54504b56e2e00e0 (patch)
tree03ee9acb103b7979d1d2ce026dc11549495b24f2 /package/monit/monit.mk
parent9266ac12d274724aeb1f284db44a7945bc55a250 (diff)
downloadbuildroot-03f388619a4dfa2835774702a54504b56e2e00e0.tar.gz
buildroot-03f388619a4dfa2835774702a54504b56e2e00e0.tar.bz2
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>
Diffstat (limited to 'package/monit/monit.mk')
-rw-r--r--package/monit/monit.mk9
1 files changed, 9 insertions, 0 deletions
diff --git a/package/monit/monit.mk b/package/monit/monit.mk
index 25bb5a2a6c..fa3a6d8773 100644
--- a/package/monit/monit.mk
+++ b/package/monit/monit.mk
@@ -8,6 +8,15 @@ 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 \