Thanks to visit codestin.com
Credit goes to github.com

Skip to content

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

@20kdc

Description

@20kdc

(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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugObserved behavior contradicts documented or intended behaviorcontributor friendlyThis issue is limited in scope and/or knowledge of Zig internals.zig build systemstd.Build, the build runner, `zig build` subcommand, package management

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions