summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGordon Ross <gordon.ross@tintri.com>2021-02-13 12:15:54 -0500
committerGordon Ross <gordon.ross@tintri.com>2021-03-17 20:58:51 -0400
commit5fbc1fe0da7f34cf8155bf7624c94583cc98e47c (patch)
tree83543493a2d971e193548879e3eee8d2b9133ed4
parentb2761fb273089c452ca34297d7ab4a1d1c1f1012 (diff)
downloadillumos-joyent-5fbc1fe0da7f34cf8155bf7624c94583cc98e47c.tar.gz
13526 cmd/availdevs always rebuilds
Reviewed by: Richard Lowe <richlowe@richlowe.net> Reviewed by: Andy Fiddaman <andy@omnios.org> Approved by: Dan McDonald <danmcd@joyent.com>
-rw-r--r--usr/src/cmd/availdevs/Makefile7
1 files changed, 1 insertions, 6 deletions
diff --git a/usr/src/cmd/availdevs/Makefile b/usr/src/cmd/availdevs/Makefile
index dfa150f6c9..faa9a3011e 100644
--- a/usr/src/cmd/availdevs/Makefile
+++ b/usr/src/cmd/availdevs/Makefile
@@ -32,13 +32,8 @@ ROOTCMDDIR= $(ROOTLIB)/zfs
INCS += -I$(ADJUNCT_PROTO)/usr/include/libxml2
-#
-# There is no lint library for libxml2, so we need to avoid linking against
-# it during lint, as well as turning off the warnings lint would generate.
-#
-LDLIBS += -lzfs_jni -lnvpair -lzfs
+LDLIBS += -lzfs_jni -lnvpair -lzfs -lxml2
NATIVE_LIBS += libxml2.so
-all install := LDLIBS += -lxml2
CPPFLAGS += $(INCS) -D_LARGEFILE64_SOURCE=1 -D_REENTRANT
$(NOT_RELEASE_BUILD) CPPFLAGS += -DDEBUG