From ebe79c28c30ad328dcff88b95e7863e885af36f9 Mon Sep 17 00:00:00 2001 From: dscho Date: Sun, 8 Mar 2009 18:33:08 +0000 Subject: Clipboard support for SDLvncviewer The clipboard support has only been tested on Linux so far. Signed-off-by: Johannes Schindelin --- client_examples/Makefile.am | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'client_examples/Makefile.am') diff --git a/client_examples/Makefile.am b/client_examples/Makefile.am index 9eed084..fa71a50 100644 --- a/client_examples/Makefile.am +++ b/client_examples/Makefile.am @@ -19,8 +19,14 @@ SDLVIEWER=SDLvncviewer SDLvncviewer_CFLAGS=$(SDL_CFLAGS) +SDLvncviewer_SOURCES=SDLvncviewer.c scrap.c + +if HAVE_X +X11_LIB=-lX11 +endif + # thanks to autoconf, this looks ugly -SDLvncviewer_LDADD=$(LDADD) $(SDL_LIBS) +SDLvncviewer_LDADD=$(LDADD) $(SDL_LIBS) $(X11_LIB) endif noinst_PROGRAMS=ppmtest $(SDLVIEWER) $(FFMPEG_CLIENT) backchannel -- cgit v1.2.1