diff --git a/Makefile.target b/Makefile.target index 9ffc0b7086279a5f89e6e7501e05d05e007cdf79..a1892b6d21e165584730d20fad6f34c181af538d 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 f24b24048d2c1aa024327a051e5bb2b09f60f978..551b626ae5dffbb1f8131b30fd420d0ef6f7321c 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