DVB_APPS_LICENSE = GPLv2 GPLv2+ LGPLv2.1+
DVB_APPS_LICENSE_FILES = COPYING COPYING.LGPL
-DVB_APPS_LDFLAGS = $(TARGET_LDFLAGS)
-
ifeq ($(BR2_ENABLE_LOCALE),)
DVB_APPS_DEPENDENCIES = libiconv
-DVB_APPS_LDFLAGS += -liconv
+DVB_APPS_LDLIBS += -liconv
endif
DVB_APPS_INSTALL_STAGING = YES
define DVB_APPS_BUILD_CMDS
- $(TARGET_CONFIGURE_OPTS) LDFLAGS="$(DVB_APPS_LDFLAGS)" \
+ $(TARGET_CONFIGURE_OPTS) LDLIBS="$(DVB_APPS_LDLIBS)" \
$(MAKE) -C $(@D) CROSS_ROOT=$(STAGING_DIR) V=1
endef