commit 31aaf128a11473591ab993f4592a7c056f5783f1
parent 63bbc1fa0fb5855953b476692bae60192a31c441
Author: Joel Arbring <arbring@tutus.se>
Date: Fri, 17 Sep 2021 15:22:46 +0200
Check for .so file where we create it
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/cli.c b/src/cli.c
@@ -718,9 +718,9 @@ cli_build(int argc, char **argv)
if (bopt->single_binary) {
requires_relink++;
- (void)cli_vasprintf(&sofile, "%s", appl);
+ (void)cli_vasprintf(&sofile, "%s/%s", out_dir, appl);
} else {
- (void)cli_vasprintf(&sofile, "%s.so", appl);
+ (void)cli_vasprintf(&sofile, "%s/%s.so", out_dir, appl);
}
if (!cli_file_exists(sofile) && source_files_count > 0)