summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--parse.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/parse.c b/parse.c
index 7bb666d..6e9907c 100644
--- a/parse.c
+++ b/parse.c
@@ -962,9 +962,11 @@ parse_line (Package *pkg, const char *untrimmed, const char *path,
else
goto cleanup;
}
- else if ((strcmp (tag, "Libs.private") == 0) &&
- ignore_private_libs == FALSE)
- parse_libs_private (pkg, p, path);
+ else if (strcmp (tag, "Libs.private") == 0)
+ {
+ if (!ignore_private_libs)
+ parse_libs_private (pkg, p, path);
+ }
else if (strcmp (tag, "Libs") == 0)
parse_libs (pkg, p, path);
else if (strcmp (tag, "Cflags") == 0 ||