-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Way to set shared library filename #2231
Copy link
Copy link
Open
Labels
contributor friendlyThis issue is limited in scope and/or knowledge of Zig internals.This 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.Solving this issue will likely involve adding new logic or components to the codebase.zig build systemstd.Build, the build runner, `zig build` subcommand, package managementstd.Build, the build runner, `zig build` subcommand, package management
Milestone
Metadata
Metadata
Assignees
Labels
contributor friendlyThis issue is limited in scope and/or knowledge of Zig internals.This 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.Solving this issue will likely involve adding new logic or components to the codebase.zig build systemstd.Build, the build runner, `zig build` subcommand, package managementstd.Build, the build runner, `zig build` subcommand, package management
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 aslibNAME.so.x.y.zwhere NAME can be set with--nameandx/y/zcan come from the--verflags.Possibly related to #2230