aboutsummaryrefslogtreecommitdiff
path: root/make/solaris/makefiles/vm.make
diff options
context:
space:
mode:
Diffstat (limited to 'make/solaris/makefiles/vm.make')
-rw-r--r--make/solaris/makefiles/vm.make4
1 files changed, 4 insertions, 0 deletions
diff --git a/make/solaris/makefiles/vm.make b/make/solaris/makefiles/vm.make
index 93d8396fa..9728b1dc4 100644
--- a/make/solaris/makefiles/vm.make
+++ b/make/solaris/makefiles/vm.make
@@ -119,6 +119,10 @@ else
LIBS += -lsocket -lsched -ldl $(LIBM) -lthread -lc -ldemangle
endif # sparcWorks
+ifeq ("${Platform_arch}", "sparc")
+LIBS += -lkstat
+endif
+
# By default, link the *.o into the library, not the executable.
LINK_INTO$(LINK_INTO) = LIBJVM