aboutsummaryrefslogtreecommitdiff
path: root/libpkgconf/tuple.c.orig
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2017-10-14 00:05:03 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2017-10-14 00:05:03 +0300
commit598b0256a354cb2e65ea240e50662d4378f5462c (patch)
treeeebc14a4f618ade0678107c40b16f6538d30aade /libpkgconf/tuple.c.orig
parent8a5f879840bfe9933a6ff01792b42000de99f8c2 (diff)
Merge with latest original package version (master branch)
Diffstat (limited to 'libpkgconf/tuple.c.orig')
-rw-r--r--libpkgconf/tuple.c.orig1
1 files changed, 1 insertions, 0 deletions
diff --git a/libpkgconf/tuple.c.orig b/libpkgconf/tuple.c.orig
index b0cda45..0b22b9a 100644
--- a/libpkgconf/tuple.c.orig
+++ b/libpkgconf/tuple.c.orig
@@ -292,6 +292,7 @@ pkgconf_tuple_parse(const pkgconf_client_t *client, pkgconf_list_t *vars, const
*/
if (*buf == '/' &&
client->sysroot_dir != NULL &&
+ strcmp(client->sysroot_dir, "/") != 0 &&
strlen(buf) > strlen(client->sysroot_dir) &&
strstr(buf + strlen(client->sysroot_dir), client->sysroot_dir) != NULL)
{