From: Michael Tremer Date: Wed, 13 Jan 2021 19:39:19 +0000 (+0000) Subject: libpakfire: Increase pool debug level when compiled with SOLVER_DEBUG X-Git-Tag: 0.9.28~1285^2~870 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=17247d86e5a84d5f3e19731a2d01d47fb838b3ec;p=pakfire.git libpakfire: Increase pool debug level when compiled with SOLVER_DEBUG Signed-off-by: Michael Tremer --- diff --git a/src/libpakfire/pakfire.c b/src/libpakfire/pakfire.c index b4ca51356..def9defa9 100644 --- a/src/libpakfire/pakfire.c +++ b/src/libpakfire/pakfire.c @@ -127,6 +127,10 @@ PAKFIRE_EXPORT int pakfire_create(Pakfire* pakfire, const char* path, const char p->pool = pool_create(); pool_setdisttype(p->pool, DISTTYPE_RPM); +#ifdef SOLVER_DEBUG + pool_setdebuglevel(p->pool, 1); +#endif + // Set architecture of the pool pool_setarch(p->pool, p->arch);