$NetBSD: patch-tests_Makefile,v 1.3 2015/12/18 22:39:33 ryoon Exp $
Don't link -lutil on SunOS

--- tests/Makefile.orig	2015-12-16 22:04:51.000000000 +0000
+++ tests/Makefile
@@ -539,8 +539,10 @@ tests/ivshmem-test$(EXESUF): tests/ivshm
 tests/vhost-user-bridge$(EXESUF): tests/vhost-user-bridge.o
 
 ifeq ($(CONFIG_POSIX),y)
+ifneq ($(CONFIG_SOLARIS),y)
 LIBS += -lutil
 endif
+endif
 
 # QTest rules
 
