summaryrefslogtreecommitdiff
path: root/usr/src/cmd/availdevs/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/cmd/availdevs/Makefile')
-rw-r--r--usr/src/cmd/availdevs/Makefile4
1 files changed, 1 insertions, 3 deletions
diff --git a/usr/src/cmd/availdevs/Makefile b/usr/src/cmd/availdevs/Makefile
index e7fa72f930..dfa150f6c9 100644
--- a/usr/src/cmd/availdevs/Makefile
+++ b/usr/src/cmd/availdevs/Makefile
@@ -37,8 +37,8 @@ INCS += -I$(ADJUNCT_PROTO)/usr/include/libxml2
# it during lint, as well as turning off the warnings lint would generate.
#
LDLIBS += -lzfs_jni -lnvpair -lzfs
+NATIVE_LIBS += libxml2.so
all install := LDLIBS += -lxml2
-LINTFLAGS += -xerroff=E_NAME_USED_NOT_DEF2
CPPFLAGS += $(INCS) -D_LARGEFILE64_SOURCE=1 -D_REENTRANT
$(NOT_RELEASE_BUILD) CPPFLAGS += -DDEBUG
@@ -51,6 +51,4 @@ install: all $(ROOTCMD)
clean:
-lint: lint_PROG
-
include ../Makefile.targ