Re: [PATCH weston] build: add check for clock_gettime() in librt

2016-04-22 Thread Pekka Paalanen
On Thu, 21 Apr 2016 12:08:55 -0700 Bryce Harrington wrote: > On Thu, Apr 21, 2016 at 11:18:48AM -0300, Gustavo Zacarias wrote: > > zuctest is another clock_gettime() user that fails to link against librt > > when > > necessary. > > > > Instead of adding another -lrt LDADD entry i've opted for t

Re: [PATCH weston] build: add check for clock_gettime() in librt

2016-04-21 Thread Bryce Harrington
On Thu, Apr 21, 2016 at 11:18:48AM -0300, Gustavo Zacarias wrote: > zuctest is another clock_gettime() user that fails to link against librt when > necessary. > > Instead of adding another -lrt LDADD entry i've opted for the saner way and > converted the check to a configure test that will set CLO

[PATCH weston] build: add check for clock_gettime() in librt

2016-04-21 Thread Gustavo Zacarias
zuctest is another clock_gettime() user that fails to link against librt when necessary. Instead of adding another -lrt LDADD entry i've opted for the saner way and converted the check to a configure test that will set CLOCK_GETTIME_LIBS appropiately and replaced all instances of -lrt with it. Bui