diff options
author | Gerd Hoffmann | 2018-03-01 11:05:45 +0100 |
---|---|---|
committer | Gerd Hoffmann | 2018-03-05 08:44:11 +0100 |
commit | 2373f7d581e82c11645a799a032b9e64fd61c1b8 (patch) | |
tree | 12390f998688f7d7b36b9c857e397e6c5e95b832 /configure | |
parent | ui/gtk: build as module (diff) | |
download | qemu-2373f7d581e82c11645a799a032b9e64fd61c1b8.tar.gz qemu-2373f7d581e82c11645a799a032b9e64fd61c1b8.tar.xz qemu-2373f7d581e82c11645a799a032b9e64fd61c1b8.zip |
ui/curses: build as module
Also drop curses libs from libs_softmmu. Add CURSES_{CFLAGS,LIBS}
variables so we can use them for linking the curses module.
Also make target/unicore32/helper.o depend on curses which uses curses
directly for some reason ...
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Message-id: 20180301100547.18962-12-kraxel@redhat.com
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -3280,8 +3280,6 @@ EOF unset IFS if compile_prog "$curses_inc" "$curses_lib" ; then curses_found=yes - QEMU_CFLAGS="$curses_inc $QEMU_CFLAGS" - libs_softmmu="$curses_lib $libs_softmmu" break fi done @@ -6050,7 +6048,9 @@ if test "$cocoa" = "yes" ; then echo "CONFIG_COCOA=y" >> $config_host_mak fi if test "$curses" = "yes" ; then - echo "CONFIG_CURSES=y" >> $config_host_mak + echo "CONFIG_CURSES=m" >> $config_host_mak + echo "CURSES_CFLAGS=$curses_inc" >> $config_host_mak + echo "CURSES_LIBS=$curses_lib" >> $config_host_mak fi if test "$pipe2" = "yes" ; then echo "CONFIG_PIPE2=y" >> $config_host_mak |