Skip to content

Add -z origin to bsd linkopts - #855

Open
keith wants to merge 1 commit into
bazelbuild:mainfrom
keith:ks/add-z-origin-to-bsd-linkopts
Open

Add -z origin to bsd linkopts#855
keith wants to merge 1 commit into
bazelbuild:mainfrom
keith:ks/add-z-origin-to-bsd-linkopts

Conversation

@keith

@keith keith commented Aug 28, 2026

Copy link
Copy Markdown
Member

This is enforced on bsd in order to use $ORIGIN in library paths. Linux
does nothing with this so we don't set it there.

Fixes #854

This is enforced on bsd in order to use $ORIGIN in library paths. Linux
does nothing with this so we don't set it there.

Fixes bazelbuild#854
@keith

keith commented Aug 28, 2026

Copy link
Copy Markdown
Member Author

i tested on openbsd to verify

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

When generating an RPATH/RUNPATH containing $ORIGIN, the DF_ORIGIN flag also needs to be set

1 participant