From 3d7012877004c30a53bcb6b134866af49bfe4746 Mon Sep 17 00:00:00 2001 From: Alex Foulon Date: Wed, 17 Jun 2015 19:39:52 +0200 Subject: [PATCH] Fix enable-plugins compil option for sdl driver --- configure.ac | 3 +++ 1 file changed, 3 insertions(+) diff --git a/configure.ac b/configure.ac index c2168c7..62a0048 100644 --- a/configure.ac +++ b/configure.ac @@ -371,6 +371,9 @@ if test "${enable_plugins}" = "yes"; then ac_cv_my_have_plugins="yes" AC_DEFINE(USE_PLUGINS, 1, Define to 1 to activate plugins) CACA_LIBS="${CACA_LIBS} -ldl" + if test "${enable_sdl}" = "yes"; then + CACA_LIBS="${CACA_LIBS} ${SDL_LIBS}" + fi else CACA_CFLAGS="${CACA_CFLAGS} ${X11_CFLAGS} ${GL_CFLAGS} ${FTGL_CFLAGS} ${SDL_CFLAGS}" CACA_LIBS="${CACA_LIBS} ${X11_LIBS} ${GL_LIBS} ${FTGL_LIBS} ${SDL_LIBS}"