summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorMarc-André Lureau2019-09-03 14:59:33 +0200
committerPaolo Bonzini2020-08-21 12:30:22 +0200
commit708eab42dc75304473f23ea1ead06d579dcb7566 (patch)
tree9e5afcc394ccfdc4deafdcfab9cacee795af983f /configure
parentmeson: convert trace/ (diff)
downloadqemu-708eab42dc75304473f23ea1ead06d579dcb7566.tar.gz
qemu-708eab42dc75304473f23ea1ead06d579dcb7566.tar.xz
qemu-708eab42dc75304473f23ea1ead06d579dcb7566.zip
meson: convert dump/
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure4
1 files changed, 4 insertions, 0 deletions
diff --git a/configure b/configure
index 711c252034..a56de5621a 100755
--- a/configure
+++ b/configure
@@ -2620,6 +2620,7 @@ int main(void) { lzo_version(); return 0; }
EOF
if compile_prog "" "-llzo2" ; then
libs_softmmu="$libs_softmmu -llzo2"
+ lzo_libs="-llzo2"
lzo="yes"
else
if test "$lzo" = "yes"; then
@@ -2639,6 +2640,7 @@ int main(void) { snappy_max_compressed_length(4096); return 0; }
EOF
if compile_prog "" "-lsnappy" ; then
libs_softmmu="$libs_softmmu -lsnappy"
+ snappy_libs='-lsnappy'
snappy="yes"
else
if test "$snappy" = "yes"; then
@@ -7468,10 +7470,12 @@ fi
if test "$lzo" = "yes" ; then
echo "CONFIG_LZO=y" >> $config_host_mak
+ echo "LZO_LIBS=$lzo_libs" >> $config_host_mak
fi
if test "$snappy" = "yes" ; then
echo "CONFIG_SNAPPY=y" >> $config_host_mak
+ echo "SNAPPY_LIBS=$snappy_libs" >> $config_host_mak
fi
if test "$bzip2" = "yes" ; then