From 54fae3a9ca0af5ab29cc02d9c91fc2c63c6bc872 Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Tue, 19 Sep 2017 21:04:30 +0300 Subject: Merge with latest original package version (master branch) --- libpkgconf/path.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'libpkgconf/path.c') diff --git a/libpkgconf/path.c b/libpkgconf/path.c index 59e003e..5b7aa1c 100644 --- a/libpkgconf/path.c +++ b/libpkgconf/path.c @@ -13,6 +13,7 @@ * from the use of this software. */ +#include #include #include @@ -205,7 +206,7 @@ pkgconf_path_match_list(const char *path, const pkgconf_list_t *dirlist) pkgconf_strlcpy(relocated, path, sizeof relocated); if (pkgconf_path_relocate(relocated, sizeof relocated)) - cpath = path; + cpath = relocated; PKGCONF_FOREACH_LIST_ENTRY(dirlist->head, n) { -- cgit v1.1