The cirros image was rebuilt against the 3.13.0-83 kernel, drivers e1000e, igbvf...
[packages/trusty/cirros-testvm.git] / cirros-testvm / src-cirros / buildroot-2015.05 / package / monit / 0001-no-force-static.patch
1 Do not force building a statically-linked binary
2
3 Statically-linked binary do not work well with glibc, because it
4 still dlopen()s the NSS libraries.
5
6 Reported-by: Peter Kümmel <syntheticpp@gmx.net>
7 Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
8
9 diff -durN monit-5.7.orig/Makefile.am monit-5.7/Makefile.am
10 --- monit-5.7.orig/Makefile.am  2014-02-20 09:00:42.000000000 +0100
11 +++ monit-5.7/Makefile.am       2014-09-05 12:49:43.711104001 +0200
12 @@ -85,7 +85,7 @@
13                   src/process/sysdep_@ARCH@.c
14   
15  monit_LDADD    = libmonit/libmonit.la
16 -monit_LDFLAGS  = -static $(EXTLDFLAGS)
17 +monit_LDFLAGS  = $(EXTLDFLAGS)
18  
19  man_MANS       = monit.1
20