summaryrefslogtreecommitdiffstats
path: root/contrib/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/Makefile.am')
-rw-r--r--contrib/Makefile.am6
1 files changed, 5 insertions, 1 deletions
diff --git a/contrib/Makefile.am b/contrib/Makefile.am
index 8d00a9a..848b9a2 100644
--- a/contrib/Makefile.am
+++ b/contrib/Makefile.am
@@ -3,11 +3,15 @@ LDADD = ../libvncserver.a
noinst_PROGRAMS=zippy
+if CYGIPC
+LD_CYGIPC=-lcygipc
+endif
+
if HAVE_X
bin_PROGRAMS=x11vnc
x11vnc_SOURCES=x11vnc.c
INCLUDES=@X_CFLAGS@
-x11vnc_LDADD=@X_LIBS@ $(LDADD)
+x11vnc_LDADD=@X_LIBS@ $(LD_CYGIPC) $(LDADD)
endif
zippy_SOURCES=zippy.c