Uh oh!
There was an error while loading. Please reload this page.
stage1: implement --omit-lib-prefix - #6325
Closed
ifreund wants to merge 2 commits into
Closed
Conversation
When building shared libraries for use as plugins, it is often necessary to follow different naming conventions. Passing the new --omit-lib-prefix flag prevents zig from prefixing the name of generated libraries with "lib" and makes following such conventions possible.
ifreund
commented
Sep 11, 2020
MemberAuthor
I think that even with |
daurnimator
commented
Sep 12, 2020
Contributor
I think #6317 was the better solution. |
ifreund
commented
Sep 12, 2020
MemberAuthor
andrewrk
commented
Sep 12, 2020
Member
There's also the "soname" to consider here. I think I want to leave this open and solve it in (or shortly after) #6250 because I am trying to merge that branch soon, and I would just have to reimplement this again anyway in the branch. |
Mouvedia
commented
Oct 5, 2020
Is #5861 related? |
andrewrk
commented
Oct 26, 2020
Member
Instead of this, here's how I see this use case being solved:
I'll leave #2231 open to track build.zig integration of |
andrewrk
commented
Oct 26, 2020
Member
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for freeto join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
When building shared libraries for use as plugins, it is often necessary to follow different naming conventions. Passing the new --omit-lib-prefix flag prevents zig from prefixing the name of generated libraries with "lib" and makes following such conventions possible.
Consider this an alternative to #6317Closes#2231