joelagnel / bpfd

BPFd (Deprecated, please see README.md) : Berkeley Packet Filter daemon (BPFd). Makes it possible to run BCC tools across systems.
Apache License 2.0
95 stars 23 forks source link

Modify CMakeLists to support dynamic linking for x86 builds #39

Closed jcanseco closed 6 years ago

jcanseco commented 6 years ago

This adds support for bpfd builds that dynamically link to its libraries. This is done only for x86 builds; arm64 builds continue to be static as before.

This also consolidates the bcc functionality depended on by bpfd into one library, 'libbpfd-bcc', as opposed to before where it was split into two libraries, one for bpf-specific functionality ('libbpfd-bpf'), and one for the rest of bcc depedencies ('libbpfd-bcc'). This was done since there was little reason to keep them separate.

Signed-off-by: Jazel Canseco jcanseco@google.com

Fixes #38