From 0705667e2e976d28c9fc8740bcddbbbd52de64f1 Mon Sep 17 00:00:00 2001 From: Juan Quintela Date: Mon, 3 Aug 2009 14:46:27 +0200 Subject: [PATCH] Add SDL_LIBS to libs_softmmu Signed-off-by: Juan Quintela Signed-off-by: Anthony Liguori Message-Id: --- Makefile.target | 2 +- configure | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile.target b/Makefile.target index 9ffc0b7086..a1892b6d21 100644 --- a/Makefile.target +++ b/Makefile.target @@ -453,7 +453,7 @@ vl.o: qemu-options.h monitor.o: qemu-monitor.h -LIBS += $(SDL_LIBS) $(COCOA_LIBS) $(CURSES_LIBS) $(BRLAPI_LIBS) $(VDE_LIBS) $(CURL_LIBS) +LIBS += $(COCOA_LIBS) $(CURSES_LIBS) $(BRLAPI_LIBS) $(VDE_LIBS) $(CURL_LIBS) ARLIBS=../libqemu_common.a libqemu.a $(HWLIB) endif # !CONFIG_USER_ONLY diff --git a/configure b/configure index f24b24048d..551b626ae5 100755 --- a/configure +++ b/configure @@ -891,6 +891,7 @@ EOF if test "$mingw32" = "yes" ; then sdl_libs="`echo $sdl_libs | sed s/-mwindows//g` -mconsole" fi + libs_softmmu="$sdl_libs $libs_softmmu" fi ########################################## @@ -1632,7 +1633,6 @@ if [ "$build_docs" = "yes" ] ; then fi if test "$sdl" = "yes" ; then echo "CONFIG_SDL=y" >> $config_host_mak - echo "SDL_LIBS=$sdl_libs" >> $config_host_mak echo "SDL_CFLAGS=$sdl_cflags" >> $config_host_mak fi if test "$cocoa" = "yes" ; then