1 diff --git a/unix/xserver/hw/vnc/Makefile.am b/unix/xserver/hw/vnc/Makefile.am
2 index d7ab259..fb477c5 100644
3 --- a/unix/xserver/hw/vnc/Makefile.am
4 +++ b/unix/xserver/hw/vnc/Makefile.am
5 @@ -5,6 +5,7 @@ RFB_LIB=$(LIB_DIR)/rfb/librfb.la
6 RDR_LIB=$(LIB_DIR)/rdr/librdr.la
7 NETWORK_LIB=$(LIB_DIR)/network/libnetwork.la
8 XREGION_LIB=$(LIB_DIR)/Xregion/libXregion.la
9 +OS_LIB=$(LIB_DIR)/os/libos.la
10 COMMON_LIBS=$(NETWORK_LIB) $(RFB_LIB) $(RDR_LIB) $(XREGION_LIB)
12 noinst_LTLIBRARIES = libvnccommon.la
13 @@ -64,6 +65,6 @@ libvnc_la_CPPFLAGS = $(XVNC_CPPFLAGS) -I$(TIGERVNC_SRCDIR)/common -UHAVE_CONFIG_
15 libvnc_la_LDFLAGS = -module -avoid-version -Wl,-z,now
17 -libvnc_la_LIBADD = libvnccommon.la $(COMMON_LIBS)
18 +libvnc_la_LIBADD = libvnccommon.la $(COMMON_LIBS) $(OS_LIB)