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

tests: use RUNPATH instead of RPATH consistently #309

Merged
merged 1 commit into from
May 3, 2018
Merged

Conversation

fabbione
Copy link
Member

@fabbione fabbione commented May 3, 2018

some vendors default to RPATH, others to RUNPATH. The former does not allow override
with LD_LIBRARY_PATH when running binaries such as test suite and it was causing
problems on platforms where RPATH is default, by running the test suite against
the wrong library (out-of-tree vs in-tree).

This change has no effect on libqb itself, but only on the binaries.

Signed-off-by: Fabio M. Di Nitto [email protected]

some vendors default to RPATH, others to RUNPATH. The former does not allow override
with LD_LIBRARY_PATH when running binaries such as test suite and it was causing
problems on platforms where RPATH is default, by running the test suite against
the wrong library (out-of-tree vs in-tree).

This change has no effect on libqb itself, but only on the binaries.

Signed-off-by: Fabio M. Di Nitto <[email protected]>
@fabbione fabbione requested a review from chrissie-c May 3, 2018 14:30
Copy link
Contributor

@chrissie-c chrissie-c left a comment

Choose a reason for hiding this comment

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

ACK. thanks.

@chrissie-c chrissie-c merged commit eeb5e45 into master May 3, 2018
@fabbione fabbione deleted the dtags branch May 3, 2018 15:09
jnpkrn added a commit to jnpkrn/libqb that referenced this pull request Sep 14, 2018
…#309)"

This reverts commit eeb5e45.

Said change did not undergo standard review and seems superfluous,
since we inject neither RPATH nor RUNPATH into the resulting shared
library, therefore it's questionable why we should be carrying this
burden and influence anything by force.  Redistributors are free to
make their own choices.  If that requires assistance on libqb's side
their _conditional_ patches are welcome.

Signed-off-by: Jan Pokorný <[email protected]>
jnpkrn added a commit to jnpkrn/libqb that referenced this pull request Sep 14, 2018
…#309)"

This reverts commit eeb5e45.

Said change did not undergo standard review and seems superfluous,
since we inject neither RPATH nor RUNPATH into the resulting shared
library, therefore it's questionable why we should be carrying this
burden and influence anything by force.  Redistributors are free to
make their own choices.  If that requires assistance on libqb's side,
their _conditional_ patches are welcome.

Signed-off-by: Jan Pokorný <[email protected]>
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