Fold CURSES_LIBS into libsoftmmu_libs

Signed-off-by: Juan Quintela <quintela@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Message-Id:
This commit is contained in:
Juan Quintela 2009-08-03 14:46:33 +02:00 committed by Anthony Liguori
parent 6362a53f55
commit d2ef30d5d3
2 changed files with 3 additions and 4 deletions

View File

@ -416,7 +416,7 @@ vl.o: qemu-options.h
monitor.o: qemu-monitor.h
LIBS += $(COCOA_LIBS) $(CURSES_LIBS) $(BRLAPI_LIBS) $(VDE_LIBS) $(CURL_LIBS)
LIBS += $(COCOA_LIBS) $(BRLAPI_LIBS) $(VDE_LIBS) $(CURL_LIBS)
ARLIBS=../libqemu_common.a libqemu.a $(HWLIB)
endif # !CONFIG_USER_ONLY

5
configure vendored
View File

@ -1074,9 +1074,9 @@ if test "$curses" = "yes" ; then
int main(void) { resize_term(0, 0); return curses_version(); }
EOF
if compile_prog "" "-lncurses" ; then
curses_libs="-lncurses"
libs_softmmu="-lncurses $libs_softmmu"
elif compile_prog "" "-lcurses" ; then
curses_libs="-lcurses"
libs_softmmu="-lcurses $libs_softmmu"
else
curses=no
fi
@ -1658,7 +1658,6 @@ if test "$cocoa" = "yes" ; then
fi
if test "$curses" = "yes" ; then
echo "CONFIG_CURSES=y" >> $config_host_mak
echo "CURSES_LIBS=$curses_libs" >> $config_host_mak
fi
if test "$atfile" = "yes" ; then
echo "CONFIG_ATFILE=y" >> $config_host_mak