forked from ariadne/pkgconf
pkg: add anchor Provides entry once the .pc file is parsed, instead of faking it in the tool
parent
d72ece6a5f
commit
5ba46130d2
|
@ -331,6 +331,9 @@ pkgconf_pkg_new_from_file(const char *filename, FILE *f, unsigned int flags)
|
|||
}
|
||||
|
||||
fclose(f);
|
||||
|
||||
pkgconf_dependency_add(&pkg->provides, pkg->id, pkg->version, PKGCONF_CMP_EQUAL);
|
||||
|
||||
return pkgconf_pkg_ref(pkg);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue