weston: add build fix for clock_gettime() in librt
authorGustavo Zacarias <gustavo@zacarias.com.ar>
Wed, 20 Apr 2016 18:38:58 +0000 (15:38 -0300)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Thu, 21 Apr 2016 21:24:49 +0000 (23:24 +0200)
commita6424be1a2196c66dcbc8a2116704e1ba92f2139
tree2c094fd09e0ca7fa54fdf5e62c1a26d1330c6df2
parent56047fa97d8ca433948c30269ae6fc107b67ce70
weston: add build fix for clock_gettime() in librt

Over time weston has been manually adding -lrt LDADDs to the Makefile
for clock_gettime() using sources. However this isn't 100% correct since
"modern" glibc versions don't require it so switch all over to a
configure test for that purpose. Fixes:
http://autobuild.buildroot.net/results/a16/a165f439cf5a81c79fe3fa3af7a2a5a30022e7ed/

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
[Thomas: fixed autobuilder reference.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/weston/0002-build-add-check-for-clock_gettime-in-librt.patch [new file with mode: 0644]
package/weston/weston.mk