8000 Call pkg-config --libs to get dynamic package libs flags by YuviGold · Pull Request #1570 · aquasecurity/tracee · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Call pkg-config --libs to get dynamic package libs flags #1570

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

Merged
merged 1 commit into from
Mar 22, 2022

Conversation

YuviGold
Copy link
Contributor

Resolves #1542

Although checking the availability of a package in checklib rules,
the pkg-config --libs command should be used instead of hardcoded
-lelf -lz flags to support edge cases (for example,
when the libraries aren't located in the default directories).

cc @rafaeldtinoco

Resolves aquasecurity#1542

Although checking the availability of a package in `checklib` rules,
the `pkg-config --libs` command should be used instead of hardcoded
`-lelf -lz` flags to support edge cases (for example,
when the libraries aren't located in the default directories).

Signed-off-by: Yuval Goldberg <yuvigoldi@gmail.com>
Copy link
Contributor
@rafaeldtinoco rafaeldtinoco left a comment

Choose a reason for hiding this comment

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

LGTM, thanks!

@rafaeldtinoco rafaeldtinoco merged commit 794a55e into aquasecurity:main Mar 22, 2022
@YuviGold YuviGold deleted the use-pkg-config-libs-flag branch March 23, 2022 00:44
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.

39CF Fail finding libelf & zlib although exists
2 participants
0