On Thu, Mar 21, 2019 at 4:09 PM <luca.bocca...@gmail.com> wrote:
>
> From: Luca Boccassi <bl...@debian.org>
>
> Generate a libbpf.pc file at build time so that users can rely
> on pkg-config to find the library, its CFLAGS and LDFLAGS.
>
> Signed-off-by: Luca Boccassi <bl...@debian.org>
> Acked-by: Andrey Ignatov <r...@fb.com>
> ---
> v2: use QUIET_GEN instead of QUIET_LINK to generate pc file,
>     save kernel version in its own variable instead of calling
>     make inline
> v3: use LIBBPF_VERSION instead of kernel_version
> v4: use -I${prefix}/include rather than -I${prefix}/include/bpf
>     in the Cflags field as requested, to keep consistency with
>     how the headers are used now and to avoid a dependency from
>     the pc file to the headers installation
> v5: add acked-by, add SPDX line to pc file
> v6: remove URL field, generalize Description field
> v7: fix build with make OUTPUT=/foo/bar/ by prefixing $(OUTPUT)
>     to the pc file variable

Applied. Thanks

Reply via email to