parse: track LIBS.private

feature/tap-sh
William Pitcock 2012-05-02 21:53:02 +00:00
parent 8f8ed9b60a
commit bcd8a9f9d6
2 changed files with 3 additions and 0 deletions

View File

@ -413,6 +413,8 @@ parse_file(const char *filename, FILE *f)
pkg->cflags = strdup_parse(pkg, value);
else if (!strcasecmp(key, "LIBS"))
pkg->libs = strdup_parse(pkg, value);
else if (!strcasecmp(key, "LIBS.private"))
pkg->libs_private = strdup_parse(pkg, value);
else if (!strcasecmp(key, "Requires"))
pkg->requires = parse_deplist(pkg, value);
else if (!strcasecmp(key, "Requires.private"))

1
pkg.h
View File

@ -91,6 +91,7 @@ struct pkg_ {
char *url;
char *pc_filedir;
char *libs;
char *libs_private;
char *cflags;
pkg_dependency_t *requires;