summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: d1b877f)
raw | patch | inline | side by side (parent: d1b877f)
author | Ruben Kerkhof <ruben@rubenkerkhof.com> | |
Fri, 3 Jun 2016 20:29:03 +0000 (22:29 +0200) | ||
committer | Ruben Kerkhof <ruben@rubenkerkhof.com> | |
Fri, 3 Jun 2016 21:21:17 +0000 (23:21 +0200) |
Use BUILD_SOLARIS instead of assuming that any OS not FreeBSD or Linux is Solaris.
src/Makefile.am | patch | blob | history |
diff --git a/src/Makefile.am b/src/Makefile.am
index 250557b051b3040213f27eb5546bd2a1bc12eefc..eb786f4cb62a1203bf5c88a84fe23736ed9d0f5f 100644 (file)
--- a/src/Makefile.am
+++ b/src/Makefile.am
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