$OpenBSD: patch-unix_xserver_hw_vnc_Makefile_am,v 1.2 2021/11/14 22:45:25 sthen Exp $

Index: unix/xserver/hw/vnc/Makefile.am
--- unix/xserver/hw/vnc/Makefile.am.orig
+++ unix/xserver/hw/vnc/Makefile.am
@@ -45,7 +45,7 @@ Xvnc_CPPFLAGS = $(XVNC_CPPFLAGS) -DTIGERVNC -DNO_MODUL
 	-I$(top_srcdir)/include ${XSERVERLIBS_CFLAGS}
 
 Xvnc_LDADD = $(XVNC_LIBS) libvnccommon.la $(COMMON_LIBS) \
-	$(XSERVER_LIBS) $(XSERVER_SYS_LIBS) $(XVNC_SYS_LIBS) -lX11
+	$(XSERVER_LIBS) $(XSERVER_SYS_LIBS) $(XVNC_SYS_LIBS) -lX11 -lgnutls -ljpeg
 
 Xvnc_LDFLAGS = $(LD_EXPORT_SYMBOLS_FLAG)
 
