Skip to content

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

Merged
val-ms merged 3 commits intoCisco-Talos:mainfrom
sebastianas:rpath
Mar 23, 2023
Merged

Add an option to avoid setting RPATH on unix systems.#815
val-ms merged 3 commits intoCisco-Talos:mainfrom
sebastianas:rpath

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 [email protected]

@val-ms
Copy link
Contributor

val-ms commented Jan 26, 2023

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.

@val-ms
Copy link
Contributor

val-ms commented Mar 9, 2023

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

@val-ms val-ms 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 <[email protected]>
@sebastianas
Copy link
Contributor Author

done

Copy link
Contributor

@val-ms val-ms 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.

Copy link
Contributor

@val-ms val-ms 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.

@val-ms val-ms merged commit dda7398 into Cisco-Talos:main Mar 23, 2023
@sebastianas sebastianas deleted the rpath branch June 27, 2024 19:47
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.

2 participants