Fix incorrect comment (#178)

feature/tap-sh
TingPing 2018-03-08 05:16:18 +00:00 committed by William Pitcock
parent 60c05f5621
commit a50bf726e0
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)))