Skip to content

[Mono] MonoAOTCompiler task does not output shared object file extension (.dylib/.so/etc.)  #49179

@naricc

Description

@naricc

When AOTing use the MonoAOTCompiler task, the aot object files will have either a dll.o, dll-llvm.o, or a .s extension, depending on the OutputType parameter. However, on desktop these are actually shared object files and should have the appropriate extension (.dylib or .so, depending on the platform), or else the runtime will not find and run the AOT'd code.

My proposal is to add another value the ObjectType enum, maybe "Shared", to control this.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions