Browse Source

Create build dir before creating archive

default_compile_flags
vector-of-bool 5 years ago
parent
commit
cb9d911e48
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      src/dds/build.cpp

+ 1
- 0
src/dds/build.cpp View File

@@ -304,6 +304,7 @@ void dds::build(const build_params& params, const library_manifest& man) {
if (fs::exists(arc.out_path)) {
fs::remove(arc.out_path);
}
fs::create_directories(arc.out_path.parent_path());
auto ar_res = run_proc(ar_cmd);
if (!ar_res.okay()) {
spdlog::error("Failure creating archive library {}", arc.out_path);

Loading…
Cancel
Save