Skip to contentSkip to conversation

configure: fix gio_libs reference

PATCH Applied Bruce Rogers 2 participants 2 messages Nov 3, 2020

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 configure: fix gio_libs reference

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")

---
 configure | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
configure +1 -1
index 2c3c69f118..bc06aa81e5 100755
@@ -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
Signature · 1 line
2.29.0
#1 lore raw
Quoted 17 lines · Bruce Rogers

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")

---
 configure | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
configure +0 -0
index 2c3c69f118..bc06aa81e5 100755

configure if $pkg_config --atleast-version=$glib_req_ver gio-2.0; then · line 3505

Quoted 8 lines
configure +1 -1
@@ -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

Queued, thanks.

Paolo