[runtime] Add mkbundle support for dedup
[mono.git] / mcs / tools / mkbundle / mkbundle.cs
index 47ed41c50fab2e13fc1d594c6241c68ef4ff98e8..9802735a5b812a4cf2adaf7d4ef33d8191d8695a 100755 (executable)
@@ -1600,6 +1600,8 @@ void          mono_register_config_for_assembly (const char* assembly_name, cons
                        var outName = Path.Combine (temp_dir_name, Path.GetFileName (inName));
                        File.Copy (inName, outName);
                        files [i] = outName;
+                       if (in_name == aot_dedup_assembly)
+                               aot_dedup_assembly = out_name;
                }
        }