summaryrefslogtreecommitdiff
path: root/usr/src
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src')
-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