OSDN Git Service

configure: fix gio_libs reference
authorBruce Rogers <brogers@suse.com>
Tue, 3 Nov 2020 14:51:21 +0000 (07:51 -0700)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 3 Nov 2020 15:15:43 +0000 (10:15 -0500)
The gio library detection code no longer works, due to a missing $ in
front of the gio_libs reference. Make the string be $gio_libs.

Fixes: 76346b6264a ("configure: Test that gio libs from pkg-config
work")

Signed-off-by: Bruce Rogers <brogers@suse.com>
Message-Id: <20201103145121.668865-1-brogers@suse.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
configure

index c87c1df..8c4b5d6 100755 (executable)
--- a/configure
+++ b/configure
@@ -3499,7 +3499,7 @@ if $pkg_config --atleast-version=$glib_req_ver gio-2.0; then
     # with pkg-config --static --libs data for gio-2.0 that is missing
     # -lblkid and will give a link error.
     write_c_skeleton
-    if compile_prog "" "gio_libs" ; then
+    if compile_prog "" "$gio_libs" ; then
         gio=yes
     else
         gio=no