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

Add an option to avoid setting RPATH on unix systems. #815

Merged
merged 3 commits into from Mar 23, 2023

Conversation

sebastianas
Copy link
Contributor

RPATH overrides the normal library search path, possibly interfering with local policy and causing problems for multilib, among other issues.

Add an option to avoid setting it with letting it enabled by default.

Signed-off-by: Sebastian Andrzej Siewior sebastian@breakpoint.cc

@micahsnyder
Copy link
Contributor

Thanks for submitting this Sebastian.

Casually reading this, it makes sense to me. As noted on the other PR, this week has been hectic and I expect that week will be as well. I will give it more attention as soon as I can.

@micahsnyder
Copy link
Contributor

Can you please also document the new option in https://github.com/Cisco-Talos/clamav/blob/main/INSTALL.md#custom-cmake-config-options

Outside of this documentation request, I'm happy with the PR.

Copy link
Contributor

@micahsnyder micahsnyder left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Forgot to mark "request changes" for documentation change. Required to add a comment in order to do it ;-)

RPATH overrides the normal library search path, possibly interfering
with local policy and causing problems for multi-lib, among other issues.

Add an option to avoid setting it with letting it enabled by default.

Signed-off-by: Sebastian Andrzej Siewior <sebastian@breakpoint.cc>
@sebastianas
Copy link
Contributor Author

done

Copy link
Contributor

@micahsnyder micahsnyder left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some other very minor changes to make, please.

INSTALL.md Show resolved Hide resolved
CMakeOptions.cmake Outdated Show resolved Hide resolved
Copy link
Contributor

@micahsnyder micahsnyder left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Because my requested changes here were miniscule, I did it myself and will just squash the extra fixup commits in the merge.

@micahsnyder micahsnyder merged commit dda7398 into Cisco-Talos:main Mar 23, 2023
19 of 22 checks passed
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.

None yet

2 participants