blob: 4634a951f3c756689e416944b56834c57e30621d [file] [log] [blame]
Do not force building a statically-linked binary
Statically-linked binary do not work well with glibc, because it
still dlopen()s the NSS libraries.
Reported-by: Peter KΓΌmmel <syntheticpp@gmx.net>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
[Dario: make the patch to be applied with fuzz factor 0]
Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com>
diff -durN monit-5.7.orig/Makefile.am monit-5.7/Makefile.am
--- monit-5.7.orig/Makefile.am 2014-02-20 09:00:42.000000000 +0100
+++ monit-5.7/Makefile.am 2014-09-05 12:49:43.711104001 +0200
@@ -97,7 +97,7 @@
src/statistics/Statistics.c
monit_LDADD = libmonit/libmonit.la
-monit_LDFLAGS = -static $(EXTLDFLAGS)
+monit_LDFLAGS = $(EXTLDFLAGS)
man_MANS = monit.1