Libbpf library
Go to file
Jiri Olsa 9a27792ebb Add -fPIC for static objects
Adding the -fPIC also for static objects, so it can
be used in builds with shared libraries.

There's old guide (draft) for Fedora (only one I could find):
  https://fedoraproject.org/wiki/User:Ajax/Static_Library_PICness_Guidelines

saying:
  Packages that install static library archives (.a files) must do exactly one of:
   - build them as PIC objects
   - document why the static libraries are not built PIC AND receive explicit approval from FESCo.
   - build both PIC and non-PIC libraries, with a .pc file for each for dependent packages to use

If we ever want/need nonpic archive, we will go with 3rd option above,
for now just enabling fPIC in libbpf.a
2019-12-03 10:51:55 +01:00
.gitignore Revert "release 0.0.5" 2019-11-22 15:17:37 +01:00
libbpf.spec Add -fPIC for static objects 2019-12-03 10:51:55 +01:00
README.md Added the README 2019-09-23 13:23:58 +00:00
sources Revert "release 0.0.5" 2019-11-22 15:17:37 +01:00

libbpf

The libbpf package