aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabian Groffen <grobian@gentoo.org>2019-03-18 14:11:41 +0100
committerFabian Groffen <grobian@gentoo.org>2019-03-18 14:13:19 +0100
commita221d981b4349b07d8b3869cb8ad2bb06d353a7a (patch)
tree1b3d480c25302c9d49d85884e292c10434421a99 /qdepends.c
parentq.c: move run_applet_l to its only consumer qmerge.c (diff)
downloadportage-utils-a221d981b4349b07d8b3869cb8ad2bb06d353a7a.tar.gz
portage-utils-a221d981b4349b07d8b3869cb8ad2bb06d353a7a.tar.bz2
portage-utils-a221d981b4349b07d8b3869cb8ad2bb06d353a7a.zip
libq: standardise build
Compile each C-file by itself, producing an object which is linked into a convenience archive. The q program then links against that archive. Switch to autotools-based build for everyone. Signed-off-by: Fabian Groffen <grobian@gentoo.org>
Diffstat (limited to 'qdepends.c')
-rw-r--r--qdepends.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/qdepends.c b/qdepends.c
index 92ae57bf..ed985369 100644
--- a/qdepends.c
+++ b/qdepends.c
@@ -703,10 +703,10 @@ int qdepends_main(int argc, char **argv)
for (i = 0; depend_files[i]; ++i) {
printf(" %s*%s %s\n", GREEN, NORM, depend_files[i]);
state.depend_file = depend_files[i];
- ret |= q_vdb_foreach_pkg(cb, &state, NULL);
+ ret |= q_vdb_foreach_pkg(portroot, portvdb, cb, &state, NULL);
}
} else
- ret = q_vdb_foreach_pkg(cb, &state, NULL);
+ ret = q_vdb_foreach_pkg(portroot, portvdb, cb, &state, NULL);
array_for_each(atoms, i, atom)
atom_implode(atom);