projects
/
collectd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d1b877f
)
zfs_arc: simplify build logic
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
250557b
..
eb786f4
100644
(file)
--- 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