提交 4b76a481 编写于 作者: S Stefan Hajnoczi 提交者: Aneesh Kumar K.V

coroutine: add gthread dependency

Commit 1fc7bd4a removed the gthread and
gio dependency since qemu-ga did not require it.  Coroutines require
gthread, so add it back in.
Signed-off-by: NStefan Hajnoczi <stefanha@linux.vnet.ibm.com>
上级 23ddf2bb
......@@ -1844,16 +1844,14 @@ fi
##########################################
# glib support probe
if test "$guest_agent" != "no" ; then
if $pkg_config --modversion glib-2.0 > /dev/null 2>&1 ; then
glib_cflags=`$pkg_config --cflags glib-2.0 2>/dev/null`
glib_libs=`$pkg_config --libs glib-2.0 2>/dev/null`
libs_softmmu="$glib_libs $libs_softmmu"
libs_tools="$glib_libs $libs_tools"
else
echo "glib-2.0 required to compile QEMU"
exit 1
fi
if $pkg_config --modversion gthread-2.0 > /dev/null 2>&1 ; then
glib_cflags=`$pkg_config --cflags gthread-2.0 2>/dev/null`
glib_libs=`$pkg_config --libs gthread-2.0 2>/dev/null`
libs_softmmu="$glib_libs $libs_softmmu"
libs_tools="$glib_libs $libs_tools"
else
echo "glib-2.0 required to compile QEMU"
exit 1
fi
##########################################
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册