Re: [PATCH bpf-next 3/4] samples: bpf: fix build after move to compiling full libbpf.a

2018-05-14 Thread Jakub Kicinski
On Mon, 14 May 2018 12:12:05 -0700, Y Song wrote: > On Fri, May 11, 2018 at 5:17 PM, Jakub Kicinski > wrote: > > There are many ways users may compile samples, some of them got > > broken by commit 5f9380572b4b ("samples: bpf: compile and link > > against full libbpf"). Improve path resolution an

Re: [PATCH bpf-next 3/4] samples: bpf: fix build after move to compiling full libbpf.a

2018-05-14 Thread Y Song
On Fri, May 11, 2018 at 5:17 PM, Jakub Kicinski wrote: > There are many ways users may compile samples, some of them got > broken by commit 5f9380572b4b ("samples: bpf: compile and link > against full libbpf"). Improve path resolution and make libbpf > building a dependency of source files to for

Re: [PATCH bpf-next 3/4] samples: bpf: fix build after move to compiling full libbpf.a

2018-05-12 Thread Daniel Borkmann
On 05/12/2018 09:38 PM, Jakub Kicinski wrote: > On Fri, 11 May 2018 17:17:28 -0700, Jakub Kicinski wrote: >> There are many ways users may compile samples, some of them got >> broken by commit 5f9380572b4b ("samples: bpf: compile and link >> against full libbpf"). Improve path resolution and make

Re: [PATCH bpf-next 3/4] samples: bpf: fix build after move to compiling full libbpf.a

2018-05-12 Thread Jakub Kicinski
On Fri, 11 May 2018 17:17:28 -0700, Jakub Kicinski wrote: > There are many ways users may compile samples, some of them got > broken by commit 5f9380572b4b ("samples: bpf: compile and link > against full libbpf"). Improve path resolution and make libbpf > building a dependency of source files to f

[PATCH bpf-next 3/4] samples: bpf: fix build after move to compiling full libbpf.a

2018-05-11 Thread Jakub Kicinski
There are many ways users may compile samples, some of them got broken by commit 5f9380572b4b ("samples: bpf: compile and link against full libbpf"). Improve path resolution and make libbpf building a dependency of source files to force its build. Samples should now again build with any of: cd s