summaryrefslogtreecommitdiffstats
path: root/client_examples
diff options
context:
space:
mode:
Diffstat (limited to 'client_examples')
-rw-r--r--client_examples/Makefile.am5
1 files changed, 3 insertions, 2 deletions
diff --git a/client_examples/Makefile.am b/client_examples/Makefile.am
index 83750ab..0e814af 100644
--- a/client_examples/Makefile.am
+++ b/client_examples/Makefile.am
@@ -13,9 +13,10 @@ endif
if HAVE_LIBSDL
SDLVIEWER=SDLvncviewer
-SDLvncviewer_CFLAGS=`sdl-config --cflags`
+SDLvncviewer_CFLAGS=$(SDL_CFLAGS)
-SDLvncviewer_LDFLAGS=`sdl-config --libs`
+# thanks to autoconf, this looks ugly
+SDLvncviewer_LDADD=$(LDADD) $(SDL_LIBS)
endif
noinst_PROGRAMS=ppmtest $(SDLVIEWER) $(FFMPEG_CLIENT)