fragment: when munging, do a path relocation too

pull/109/head
William Pitcock 2017-01-13 20:06:48 -06:00
parent 1369f558c6
commit 27c3710521
1 changed files with 3 additions and 0 deletions

View File

@ -99,6 +99,9 @@ pkgconf_fragment_munge(const pkgconf_client_t *client, char *buf, size_t buflen,
pkgconf_strlcat(buf, sysroot_dir, buflen);
pkgconf_strlcat(buf, source, buflen);
if (*buf == '/')
pkgconf_path_relocate(buf, buflen);
}
static inline char *