Skip to content

Way to set shared library filename #2231

Description

@daurnimator

When creating a shared library for use as a plugin in existing programs/languages, you often need to follow certain naming conventions, e.g. myprogram-plugin-b.so.

I can't seem to find a way to set the output filename from zig build-lib -dynamic. It seems to come out as libNAME.so.x.y.z where NAME can be set with --name and x/y/z can come from the --ver flags.

Possibly related to #2230

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    contributor friendlyThis issue is limited in scope and/or knowledge of Zig internals.enhancementSolving this issue will likely involve adding new logic or components to the codebase.zig build systemstd.Build, the build runner, `zig build` subcommand, package management

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions