lirc-tools: fix build issue related to clock_gettime()
commit112ec4a8f78b558513b292ab5a2c48814e47510f
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Fri, 19 Aug 2016 13:50:29 +0000 (19 15:50 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sat, 20 Aug 2016 13:02:13 +0000 (20 15:02 +0200)
tree62c86584871894c6e9f5533ee45e741a79c30353
parentebb3e9ba914efa32b73cf9be1ef3e5fd5588d900
lirc-tools: fix build issue related to clock_gettime()

In some older versions of glibc, clock_gettime() is in librt, so we need
to link with librt when clock_gettime() is used. This commit adds a
lirc-tools patch to make sure we link with librt when needed.

Fixes:

  http://autobuild.buildroot.net/results/2770360880c9b265c8e019141925e56c35ba22dc/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/lirc-tools/0004-configure-check-for-clock_gettime-in-librt.patch [new file with mode: 0644]
package/lirc-tools/lirc-tools.mk