From cf8ffc00d31aa768021efa05666de965b3d73f0e Mon Sep 17 00:00:00 2001 From: Aymeric Wibo Date: Sun, 17 Nov 2024 20:30:44 +0100 Subject: [PATCH] bsys: Attempt to install dependencies before building --- src/bsys.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/bsys.c b/src/bsys.c index 8471e1fe..cafb0e7a 100644 --- a/src/bsys.c +++ b/src/bsys.c @@ -38,7 +38,14 @@ int bsys_build(bsys_t const* bsys, char const* preinstall_prefix) { return 0; } + // Install dependencies. + + if (bsys_deps(bsys) < 0) { + return -1; + } + // Ensure the output path exists. + // TODO Do this with mkdir_recursive? Do this in main.c? if (bsys->key != NULL) { char* CLEANUP_STR path;