Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

-feach-lib-rpath as default, unable to specify -fno-each-lib-rpath in Zig build system #8800

Closed
20kdc opened this issue May 16, 2021 · 0 comments
Labels
bug Observed behavior contradicts documented or intended behavior contributor friendly This issue is limited in scope and/or knowledge of Zig internals. zig build system
Milestone

Comments

@20kdc
Copy link

20kdc commented May 16, 2021

(This issue is on behalf of someone else.)

Zig automatically overriding rpath makes executables less portable, due to distribution-specific library directories being written into the executables.

-fno-each-lib-rpath disables this behaviour, but it is not default and cannot be provided using the Zig build system.

@andrewrk andrewrk added bug Observed behavior contradicts documented or intended behavior zig build system labels May 19, 2021
@andrewrk andrewrk added this to the 0.8.0 milestone May 19, 2021
@andrewrk andrewrk modified the milestones: 0.8.0, 0.8.1 Jun 4, 2021
@andrewrk andrewrk modified the milestones: 0.8.1, 0.9.1 Aug 31, 2021
@andrewrk andrewrk modified the milestones: 0.9.1, 0.9.0 Nov 20, 2021
@andrewrk andrewrk added the contributor friendly This issue is limited in scope and/or knowledge of Zig internals. label Nov 27, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Observed behavior contradicts documented or intended behavior contributor friendly This issue is limited in scope and/or knowledge of Zig internals. zig build system
Projects
None yet
Development

No branches or pull requests

2 participants