Check for .so file where we create it

This commit is contained in:
Joel Arbring 2021-09-17 15:22:46 +02:00 committed by Joris Vink
parent 63bbc1fa0f
commit 31aaf128a1

View File

@ -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)