mirror of
https://gitlab.freedesktop.org/pkg-config/pkg-config.git
synced 2026-02-04 10:40:49 +01:00
Revert "Quote pc_path virtual variable"
This reverts commit a6e8749ada. With the
--variable output only being unquoted when it appears needed, this can
return to being a normally defined value.
https://bugs.freedesktop.org/show_bug.cgi?id=93284
This commit is contained in:
parent
a3e58e7d4d
commit
5164b9dbab
1 changed files with 1 additions and 3 deletions
4
pkg.c
4
pkg.c
|
|
@ -222,7 +222,6 @@ static Package *
|
|||
add_virtual_pkgconfig_package (void)
|
||||
{
|
||||
Package *pkg = NULL;
|
||||
gchar *path_quoted;
|
||||
|
||||
pkg = g_new0 (Package, 1);
|
||||
|
||||
|
|
@ -235,8 +234,7 @@ add_virtual_pkgconfig_package (void)
|
|||
|
||||
if (pkg->vars == NULL)
|
||||
pkg->vars = g_hash_table_new (g_str_hash, g_str_equal);
|
||||
path_quoted = g_shell_quote (pkg_config_pc_path);
|
||||
g_hash_table_insert (pkg->vars, "pc_path", path_quoted);
|
||||
g_hash_table_insert (pkg->vars, "pc_path", pkg_config_pc_path);
|
||||
|
||||
debug_spew ("Adding virtual 'pkg-config' package to list of known packages\n");
|
||||
g_hash_table_insert (packages, pkg->key, pkg);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue