$NetBSD: patch-tests_Makefile,v 1.2 2015/04/29 20:30:53 ryoon Exp $
Don't link -lutil on SunOS

--- tests/Makefile.orig	2015-04-27 14:08:27.000000000 +0000
+++ tests/Makefile
@@ -371,8 +371,10 @@ tests/test-qemu-opts$(EXESUF): tests/tes
 tests/test-write-threshold$(EXESUF): tests/test-write-threshold.o $(block-obj-y) libqemuutil.a libqemustub.a
 
 ifeq ($(CONFIG_POSIX),y)
+ifneq ($(CONFIG_SOLARIS),y)
 LIBS += -lutil
 endif
+endif
 
 # QTest rules
 
