package/tvheadend: Rework CFLAGS handling for liburiparser
Suggested by Thomas: http://article.gmane.org/gmane.comp.lib.uclibc.buildroot/100646 Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
parent
40a53388ea
commit
4fb2cc3b16
|
@ -32,9 +32,10 @@ ifeq ($(BR2_PACKAGE_LIBICONV),y)
|
|||
TVHEADEND_DEPENDENCIES += libiconv
|
||||
endif
|
||||
|
||||
TVHEADEND_CFLAGS = $(TARGET_CFLAGS)
|
||||
ifeq ($(BR2_PACKAGE_LIBURIPARSER),y)
|
||||
TVHEADEND_DEPENDENCIES += liburiparser
|
||||
TVHEADEND_CONF_ENV += CFLAGS="$(TARGET_CFLAGS) $(if $(BR2_USE_WCHAR),,-DURI_NO_UNICODE)"
|
||||
TVHEADEND_CFLAGS += $(if $(BR2_USE_WCHAR),,-DURI_NO_UNICODE)
|
||||
endif
|
||||
|
||||
TVHEADEND_DEPENDENCIES += dtv-scan-tables
|
||||
|
@ -43,7 +44,7 @@ define TVHEADEND_CONFIGURE_CMDS
|
|||
(cd $(@D); \
|
||||
$(TARGET_CONFIGURE_OPTS) \
|
||||
$(TARGET_CONFIGURE_ARGS) \
|
||||
$(TVHEADEND_CONF_ENV) \
|
||||
CFLAGS="$(TVHEADEND_CFLAGS)" \
|
||||
./configure \
|
||||
--prefix=/usr \
|
||||
--arch="$(ARCH)" \
|
||||
|
|
Loading…
Reference in a new issue