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

Allow libdebuginfod to be excluded even if present #4308

Merged
merged 1 commit into from
Oct 31, 2022

Conversation

BurntBrunch
Copy link
Contributor

@BurntBrunch BurntBrunch commented Oct 31, 2022

libdebuginfod support is currently only configurable by the presence of the library itself.

Unfortunately, when using the static libraries the libdebuginfod dependency gets propagated to users of bcc (e.g. bpftrace), who would have to require it as well.

Introduce ENABLE_LIBDEBUGINFOD to allow overriding libdebuginfod usage from above. This allows bcc users to decide for themselves if they want this dependency.

P.S. The bcc pkg-config needs some help - this dependency is not reflected anywhere and not all libraries are listed - but that'll have to be a different PR.

libdebuginfod support is currently only configurable by the presence of the library itself.

Unfortunately, when using the static libraries the libdebuginfod dependency gets
propagated to users of bcc (e.g. bpftrace), who would have to require it as well.

Introduce ENABLE_LIBDEBUGINFOD to allow overriding libdebuginfod usage
from above. This allows bcc users to decide for themselves if they want
this dependency.
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