libv4l: drop -lrt workaround
authorBaruch Siach <baruch@tkos.co.il>
Mon, 20 Mar 2017 20:36:41 +0000 (22:36 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Mon, 20 Mar 2017 20:50:44 +0000 (21:50 +0100)
libv4l adds the -lrt flag since upstream commit 3dcb945bfcab
("v4l2-compliance: Explicitely link against rt library").

Cc: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/libv4l/libv4l.mk

index 4fec14f3841cd1b8b1363c0e004db49a1ea536d2..c14bedb7deb8bbb3c0ed43c7aa4e93f786b4418e 100644 (file)
@@ -53,8 +53,6 @@ endif
 
 ifeq ($(BR2_PACKAGE_LIBV4L_UTILS),y)
 LIBV4L_CONF_OPTS += --enable-v4l-utils
-# clock_gettime is used, which is provided by librt for glibc < 2.17
-LIBV4L_LIBS += -lrt
 ifeq ($(BR2_NEEDS_GETTEXT_IF_LOCALE),y)
 LIBV4L_DEPENDENCIES += gettext
 endif