mirror of
https://git.busybox.net/buildroot.git
synced 2024-11-23 21:43:30 +08:00
package/tvheadend: add optional support for pcre2
pcre2 takes precedence of pcre: https://github.com/tvheadend/tvheadend/blob/master/configure#L473 Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
This commit is contained in:
parent
7b55cb018d
commit
60d416fb6c
@ -121,11 +121,14 @@ TVHEADEND_DEPENDENCIES += liburiparser
|
||||
TVHEADEND_CFLAGS += $(if $(BR2_USE_WCHAR),,-DURI_NO_UNICODE)
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_PCRE),y)
|
||||
ifeq ($(BR2_PACKAGE_PCRE2),y)
|
||||
TVHEADEND_DEPENDENCIES += pcre2
|
||||
TVHEADEND_CONF_OPTS += --disable-pcre --enable-pcre2
|
||||
else ifeq ($(BR2_PACKAGE_PCRE),y)
|
||||
TVHEADEND_DEPENDENCIES += pcre
|
||||
TVHEADEND_CONF_OPTS += --enable-pcre
|
||||
TVHEADEND_CONF_OPTS += --enable-pcre --disable-pcre2
|
||||
else
|
||||
TVHEADEND_CONF_OPTS += --disable-pcre
|
||||
TVHEADEND_CONF_OPTS += --disable-pcre --disable-pcre2
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_TOOLCHAIN_SUPPORTS_PIE),)
|
||||
|
Loading…
Reference in New Issue
Block a user