package/dvb-apps: fix build with some perl version
authorYann E. MORIN <yann.morin.1998@free.fr>
Mon, 27 Nov 2017 10:48:54 +0000 (11:48 +0100)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Mon, 27 Nov 2017 20:30:49 +0000 (21:30 +0100)
perl can't find a module that is located in the current directory,
so help it locate it.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/dvb-apps/dvb-apps.mk

index 8ba1501d5c1cf6ea008682cdd1c959b306ab4aa0..8aa4a29307913c25e6ff222bac323a672a97f4b4 100644 (file)
@@ -15,6 +15,8 @@ DVB_APPS_DEPENDENCIES = libiconv
 DVB_APPS_LDLIBS += -liconv
 endif
 
+DVB_APPS_MAKE_OPTS = PERL5LIB=$(@D)/util/scan
+
 ifeq ($(BR2_STATIC_LIBS),y)
 DVB_APPS_MAKE_OPTS += enable_shared=no
 else ifeq ($(BR2_SHARED_LIBS),y)