libv4l: fix utilities build with older glibc versions
authorPeter Korsgaard <peter@korsgaard.com>
Sun, 9 Nov 2014 10:21:21 +0000 (11:21 +0100)
committerPeter Korsgaard <peter@korsgaard.com>
Sun, 9 Nov 2014 10:25:18 +0000 (11:25 +0100)
commit44f89c38dc72e042d8190f4ca15b26abdb7e69b4
tree3ff1a5b36d73700477956f8291b323696807ecb8
parenta95e98c0d4036a9b1618c1a41d928e3096631063
libv4l: fix utilities build with older glibc versions

Fixes:
http://autobuild.buildroot.net/results/9af/9af37fbf344b63b60e59ccac21e010cdf0ea219e/
http://autobuild.buildroot.net/results/bbd/bbd34d5378354e9db7822eaae8d3c4a75a67ac23/
http://autobuild.buildroot.net/results/ebb/ebbaa70e1a277162ba53c7bde8335ee998486703/
http://autobuild.buildroot.net/results/2c1/2c11f4dbb7cfadcfc6fbc267679b2b4eab867221/

And many more.

The utilities use clock_gettime(), which was provided in librt in glibc <
2.17, so ensure we link against -lrt.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/libv4l/libv4l.mk