From: Ruben Kerkhof Date: Fri, 3 Jun 2016 20:29:03 +0000 (+0200) Subject: zfs_arc: simplify build logic X-Git-Tag: collectd-5.6.0~262 X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=cd6ceabfc7de0b7d3acafbd6515a59f713b65c68;p=collectd.git zfs_arc: simplify build logic Use BUILD_SOLARIS instead of assuming that any OS not FreeBSD or Linux is Solaris. --- diff --git a/src/Makefile.am b/src/Makefile.am index 250557b0..eb786f4c 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -1268,13 +1268,9 @@ zfs_arc_la_SOURCES = zfs_arc.c zfs_arc_la_LDFLAGS = $(PLUGIN_LDFLAGS) if BUILD_FREEBSD zfs_arc_la_LIBADD = -lm -else -if BUILD_LINUX -# zfs_arc requires no library on linux -else -# solaris -zfs_arc_la_LIBADD = -lkstat endif +if BUILD_SOLARIS +zfs_arc_la_LIBADD = -lkstat endif endif