Fix incorrect comment #178

Merged
TingPing merged 1 commits from patch-1 into master 2018-03-08 05:16:19 +00:00
1 changed files with 0 additions and 2 deletions

View File

@ -375,8 +375,6 @@ pkgconf_pkg_new_from_file(pkgconf_client_t *client, const char *filename, FILE *
/* Some pc files will use absolute paths for all of their directories
* which is broken when redefining the prefix. We try to outsmart the
* file and rewrite any directory that starts with the same prefix.
* Note that `pkg-config` just blindly sets all of the directories
* so this is a behavioral difference but arguablly more correct.
*/
if (client->flags & PKGCONF_PKG_PKGF_REDEFINE_PREFIX && original_prefix[0]
&& !strncmp(value, original_prefix, strlen(original_prefix)))