diff options
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) { |