From: Ruben Kerkhof Date: Fri, 3 Jun 2016 18:30:59 +0000 (+0200) Subject: ipvs: simplify logic a bit X-Git-Tag: collectd-5.6.0~274 X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=f850353b92bd9717b00fad359eb2e0548ca2e27b;p=collectd.git ipvs: simplify logic a bit --- diff --git a/src/Makefile.am b/src/Makefile.am index 136d1055..2dbf763b 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -450,10 +450,9 @@ endif if BUILD_PLUGIN_IPVS pkglib_LTLIBRARIES += ipvs.la ipvs_la_SOURCES = ipvs.c -if IP_VS_H_NEEDS_KERNEL_CFLAGS -ipvs_la_CFLAGS = $(AM_CFLAGS) $(KERNEL_CFLAGS) -else ipvs_la_CFLAGS = $(AM_CFLAGS) +if IP_VS_H_NEEDS_KERNEL_CFLAGS +ipvs_la_CFLAGS += $(KERNEL_CFLAGS) endif ipvs_la_LDFLAGS = $(PLUGIN_LDFLAGS) endif