summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorJuan Quintela2009-08-03 14:46:26 +0200
committerAnthony Liguori2009-08-10 20:05:40 +0200
commit73da375ee12925a545456a14076f531084c317f3 (patch)
treec8453e6c3369dd9770e2913954392afc6767f1db /configure
parentmove SDL_LIBS Win32 hack to configure (diff)
downloadqemu-73da375ee12925a545456a14076f531084c317f3.tar.gz
qemu-73da375ee12925a545456a14076f531084c317f3.tar.xz
qemu-73da375ee12925a545456a14076f531084c317f3.zip
Add libs_softmmu variable
It is used only for softmmu variables Signed-off-by: Juan Quintela <quintela@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com> Message-Id:
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure4
1 files changed, 3 insertions, 1 deletions
diff --git a/configure b/configure
index a014e786b0..f24b24048d 100755
--- a/configure
+++ b/configure
@@ -45,6 +45,7 @@ install="install"
objcopy="objcopy"
ld="ld"
helper_cflags=""
+libs_softmmu=""
# parse CC options first
for opt do
@@ -1763,7 +1764,7 @@ echo "HELPER_CFLAGS=$helper_cflags" >> $config_host_mak
echo "LDFLAGS=$LDFLAGS" >> $config_host_mak
echo "ARLIBS_BEGIN=$arlibs_begin" >> $config_host_mak
echo "ARLIBS_END=$arlibs_end" >> $config_host_mak
-echo "LIBS=$LIBS" >> $config_host_mak
+echo "LIBS+=$LIBS" >> $config_host_mak
echo "EXESUF=$EXESUF" >> $config_host_mak
echo "/* Automatically generated by configure - do not modify */" > $config_host_h
@@ -2008,6 +2009,7 @@ if test "$target_bigendian" = "yes" ; then
fi
if test "$target_softmmu" = "yes" ; then
echo "CONFIG_SOFTMMU=y" >> $config_mak
+ echo "LIBS+=$libs_softmmu" >> $config_mak
fi
if test "$target_user_only" = "yes" ; then
echo "CONFIG_USER_ONLY=y" >> $config_mak