qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] A little fix for configure script


From: Валентин
Subject: [PATCH] A little fix for configure script
Date: Wed, 04 Jan 2023 15:51:07 +0300

Hello! 
Script "configure" uses "pkg-config" directly (at line 2420), which always takes GLIB_VERSION from host system. 
In case of cross-compilation, it should use "$pkg_config", to take GLIB_VERSION of cross-compiled glib (as it is used earlier at line 1476).

So, the line:
echo "GLIB_VERSION=$(pkg-config --modversion glib-2.0)" >> $config_host_mak
should be:
echo "GLIB_VERSION=$($pkg_config --modversion glib-2.0)" >> $config_host_mak

With best regards,
Valentine.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]