diff --git a/parse.c b/parse.c index 18949c2..0afbc59 100644 --- a/parse.c +++ b/parse.c @@ -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")) diff --git a/pkg.h b/pkg.h index d287385..6d9825c 100644 --- a/pkg.h +++ b/pkg.h @@ -91,6 +91,7 @@ struct pkg_ { char *url; char *pc_filedir; char *libs; + char *libs_private; char *cflags; pkg_dependency_t *requires;