From cd6ceabfc7de0b7d3acafbd6515a59f713b65c68 Mon Sep 17 00:00:00 2001 From: Ruben Kerkhof Date: Fri, 3 Jun 2016 22:29:03 +0200 Subject: [PATCH] zfs_arc: simplify build logic Use BUILD_SOLARIS instead of assuming that any OS not FreeBSD or Linux is Solaris. --- src/Makefile.am | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) 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 -- 2.30.2