From 2d02ff32b7239e05763cf6217ee7c4ab1a14bdc8 Mon Sep 17 00:00:00 2001 From: Tim Waugh Date: Tue, 24 Feb 2015 15:59:03 +0000 Subject: [PATCH] Link libvnc.so with '-z now' to make symbol resolution failures obvious. --- unix/xserver/hw/vnc/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/unix/xserver/hw/vnc/Makefile.am b/unix/xserver/hw/vnc/Makefile.am index ab8becbd..7940f1b6 100644 --- a/unix/xserver/hw/vnc/Makefile.am +++ b/unix/xserver/hw/vnc/Makefile.am @@ -62,7 +62,7 @@ libvnc_la_CPPFLAGS = $(XVNC_CPPFLAGS) -I$(TIGERVNC_SRCDIR)/common -UHAVE_CONFIG_ -I$(top_srcdir)/include \ ${XSERVERLIBS_CFLAGS} -I$(includedir) -libvnc_la_LDFLAGS = -module -avoid-version +libvnc_la_LDFLAGS = -module -avoid-version -Wl,-z,now libvnc_la_LIBADD = libvnccommon.la $(COMMON_LIBS) -- 2.39.5