summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--client_examples/Makefile.am6
1 files changed, 1 insertions, 5 deletions
diff --git a/client_examples/Makefile.am b/client_examples/Makefile.am
index 2779d53..a6ba020 100644
--- a/client_examples/Makefile.am
+++ b/client_examples/Makefile.am
@@ -20,12 +20,8 @@ SDLVIEWER=SDLvncviewer
SDLvncviewer_CFLAGS=$(SDL_CFLAGS)
SDLvncviewer_SOURCES=SDLvncviewer.c scrap.c scrap.h
-if HAVE_X11
-X11_LIB=-lX11
-endif
-
# thanks to autoconf, this looks ugly
-SDLvncviewer_LDADD=$(LDADD) $(SDL_LIBS) $(X11_LIB)
+SDLvncviewer_LDADD=$(LDADD) $(SDL_LIBS)
endif
if HAVE_LIBGTK