libv4l: fix glibc compilation
authorRosen Penev <rosenp@gmail.com>
Sun, 21 Feb 2021 03:51:36 +0000 (19:51 -0800)
committerLuiz Angelo Daros de Luca <luizluca@gmail.com>
Fri, 26 Feb 2021 19:40:21 +0000 (16:40 -0300)
There was a typo in the linker flags.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
(cherry picked from commit b945b0790f8ababf8c36b9327d8d37f2ff90675b)

libs/libv4l/Makefile

index 9755f820dcf98912095596a28168aeb96337e52b..4f11a0152b9466642e01e528b9ebf67cda31c806 100644 (file)
@@ -7,7 +7,7 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=v4l-utils
 PKG_VERSION:=1.20.0
-PKG_RELEASE:=2
+PKG_RELEASE:=3
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
 PKG_SOURCE_URL:=https://www.linuxtv.org/downloads/v4l-utils
@@ -78,7 +78,7 @@ endef
 TARGET_CFLAGS += -flto
 TARGET_CXXFLAGS += -std=c++11
 TARGET_LDFLAGS += \
-       $(if $(CONFIG_LIBC_USE_GLIBC),,-largp) \
+       $(if $(CONFIG_USE_GLIBC),,-largp) \
        -Wl,--gc-sections,--as-needed
 
 CONFIGURE_ARGS+= \