mirror of
https://github.com/netdata/libbpf.git
synced 2026-03-22 01:09:06 +08:00
Similarly to Linux's 1bd63524593b ("libbpf: handle symbol versioning properly
for libbpf.a"), add necessary changes to build static and shared object
files separately with extra shared library flags. This allows to
properly handle symbol versioning in shared library mode, while still
having statically linkable library.
Cc: Yonghong Song <yhs@fb.com>
Signed-off-by: Andrii Nakryiko <andriin@fb.com>
7 lines
55 B
Plaintext
7 lines
55 B
Plaintext
*.o
|
|
*.a
|
|
/libbpf.pc
|
|
/libbpf.so*
|
|
/staticobjs
|
|
/sharedobjs
|