diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2017-09-19 21:04:30 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2017-09-19 21:04:30 +0300 |
commit | 54fae3a9ca0af5ab29cc02d9c91fc2c63c6bc872 (patch) | |
tree | 300def013e8b61ee260bca3ca8f3ff96d59b7290 /libpkgconf/path.c | |
parent | df3f033ad8586bb28503d204eac4e02990f64a44 (diff) |
Merge with latest original package version (master branch)
Diffstat (limited to 'libpkgconf/path.c')
-rw-r--r-- | libpkgconf/path.c | 3 |
1 files changed, 2 insertions, 1 deletions
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 <libpkgconf/stdinc.h> #include <libpkgconf/libpkgconf.h> #include <libpkgconf/config.h> @@ -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) { |