Skip to content

Change System.Native name to have lib prefix #33118

@akoeplinger

Description

@akoeplinger

While working on bringing up the Android support I found out that on Android native libraries must conform to the naming convention of lib<name>.so otherwise the file won't be extracted from the .apk and you can't load them.

The current naming used for the PAL assemblies like System.Native.so won't work there.

Right now I just modified the build to include the lib prefix on Android but I'm wondering whether we could/should make this change for all Unix platforms?

/cc @jkotas @marek-safar @steveisok

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-MetaenhancementProduct code improvement that does NOT require public API changes/additionsos-android

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions