From 4a8e766ef5d0c98b27ffad7907c6ce30c54a1ba8 Mon Sep 17 00:00:00 2001 From: Andrew Kelley Date: Sat, 14 Mar 2020 01:26:49 -0400 Subject: fix mismatch between expected and actual output name --- src/link.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/link.cpp') diff --git a/src/link.cpp b/src/link.cpp index 5b6d3a4fdb..3f7772bb08 100644 --- a/src/link.cpp +++ b/src/link.cpp @@ -566,6 +566,7 @@ static const char *build_libc_object(CodeGen *parent_gen, const char *name, CFil Stage2ProgressNode *progress_node) { CodeGen *child_gen = create_child_codegen(parent_gen, nullptr, OutTypeObj, nullptr, name, progress_node); + child_gen->root_out_name = buf_create_from_str(name); ZigList c_source_files = {0}; c_source_files.append(c_file); child_gen->c_source_files = c_source_files; -- cgit v1.2.3