Re: [v4l-utils PATCH 1/1] Fix static linking of v4l2-compliance and v4l2-ctl

2016-09-27 Thread Mauro Carvalho Chehab
Em Tue, 27 Sep 2016 13:04:07 -0300 Mauro Carvalho Chehab escreveu: > Em Tue, 27 Sep 2016 00:40:51 +0300 > Sakari Ailus escreveu: > > > Hi Mauro, > > > > On Mon, Sep 26, 2016 at 01:59:45PM -0300, Mauro Carvalho Chehab wrote: > > > Em Mon, 26 Sep 2016 18:46:40 +0300 > > > Sakari Ailus escreve

Re: [v4l-utils PATCH 1/1] Fix static linking of v4l2-compliance and v4l2-ctl

2016-09-27 Thread Mauro Carvalho Chehab
Em Tue, 27 Sep 2016 00:40:51 +0300 Sakari Ailus escreveu: > Hi Mauro, > > On Mon, Sep 26, 2016 at 01:59:45PM -0300, Mauro Carvalho Chehab wrote: > > Em Mon, 26 Sep 2016 18:46:40 +0300 > > Sakari Ailus escreveu: > > > > > Hi Mauro, > > > > > > On Mon, Sep 19, 2016 at 11:19:12AM -0300, Mauro

Re: [v4l-utils PATCH 1/1] Fix static linking of v4l2-compliance and v4l2-ctl

2016-09-26 Thread Sakari Ailus
Hi Mauro, On Mon, Sep 26, 2016 at 01:59:45PM -0300, Mauro Carvalho Chehab wrote: > Em Mon, 26 Sep 2016 18:46:40 +0300 > Sakari Ailus escreveu: > > > Hi Mauro, > > > > On Mon, Sep 19, 2016 at 11:19:12AM -0300, Mauro Carvalho Chehab wrote: > > > Em Mon, 19 Sep 2016 16:21:30 +0300 > > > Sakari Ail

Re: [v4l-utils PATCH 1/1] Fix static linking of v4l2-compliance and v4l2-ctl

2016-09-26 Thread Mauro Carvalho Chehab
Em Mon, 26 Sep 2016 18:46:40 +0300 Sakari Ailus escreveu: > Hi Mauro, > > On Mon, Sep 19, 2016 at 11:19:12AM -0300, Mauro Carvalho Chehab wrote: > > Em Mon, 19 Sep 2016 16:21:30 +0300 > > Sakari Ailus escreveu: > > > > > Hi Mauro, > > > > > > On 09/19/16 14:22, Mauro Carvalho Chehab wrote:

Re: [v4l-utils PATCH 1/1] Fix static linking of v4l2-compliance and v4l2-ctl

2016-09-26 Thread Sakari Ailus
Hi Mauro, On Mon, Sep 19, 2016 at 11:19:12AM -0300, Mauro Carvalho Chehab wrote: > Em Mon, 19 Sep 2016 16:21:30 +0300 > Sakari Ailus escreveu: > > > Hi Mauro, > > > > On 09/19/16 14:22, Mauro Carvalho Chehab wrote: > > > Em Mon, 19 Sep 2016 13:50:25 +0300 > > > Sakari Ailus escreveu: > > >

Re: [v4l-utils PATCH 1/1] Fix static linking of v4l2-compliance and v4l2-ctl

2016-09-19 Thread Mauro Carvalho Chehab
Em Mon, 19 Sep 2016 16:21:30 +0300 Sakari Ailus escreveu: > Hi Mauro, > > On 09/19/16 14:22, Mauro Carvalho Chehab wrote: > > Em Mon, 19 Sep 2016 13:50:25 +0300 > > Sakari Ailus escreveu: > > > >> v4l2-compliance and v4l2-ctl depend on librt and libpthread. The symbols > >> are found by the

Re: [v4l-utils PATCH 1/1] Fix static linking of v4l2-compliance and v4l2-ctl

2016-09-19 Thread Sakari Ailus
Hi Mauro, On 09/19/16 14:22, Mauro Carvalho Chehab wrote: > Em Mon, 19 Sep 2016 13:50:25 +0300 > Sakari Ailus escreveu: > >> v4l2-compliance and v4l2-ctl depend on librt and libpthread. The symbols >> are found by the linker only if these libraries are specified after the >> objects that depend

Re: [v4l-utils PATCH 1/1] Fix static linking of v4l2-compliance and v4l2-ctl

2016-09-19 Thread Mauro Carvalho Chehab
Em Mon, 19 Sep 2016 13:50:25 +0300 Sakari Ailus escreveu: > v4l2-compliance and v4l2-ctl depend on librt and libpthread. The symbols > are found by the linker only if these libraries are specified after the > objects that depend on them. > > As LDFLAGS variable end up expanded on libtool command

[v4l-utils PATCH 1/1] Fix static linking of v4l2-compliance and v4l2-ctl

2016-09-19 Thread Sakari Ailus
v4l2-compliance and v4l2-ctl depend on librt and libpthread. The symbols are found by the linker only if these libraries are specified after the objects that depend on them. As LDFLAGS variable end up expanded on libtool command line before LDADD, move the libraries to LDADD after local objects. -