Skip to content

ilc doesn't recognize library names prefixed with 'lib' for DirectPInvokes #118284

@jtschuster

Description

@jtschuster

Ran into this issue when building nativeaot on Android. Many places in the repo have '`, but that isn't recognized by ilc. When statically linking libraries that aren't present on the target machine, the pinvoke fails at runtime.

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

Status

No status

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions