e3c1efd5d2
PCRE_CONF_OPTS is wrongly overridden in a conditional since commit
9b28d48012
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
32 lines
1.1 KiB
Makefile
32 lines
1.1 KiB
Makefile
################################################################################
|
|
#
|
|
# pcre
|
|
#
|
|
################################################################################
|
|
|
|
PCRE_VERSION = 8.45
|
|
PCRE_SITE = http://downloads.sourceforge.net/project/pcre/pcre/$(PCRE_VERSION)
|
|
PCRE_SOURCE = pcre-$(PCRE_VERSION).tar.bz2
|
|
PCRE_LICENSE = BSD-3-Clause
|
|
PCRE_LICENSE_FILES = LICENCE
|
|
PCRE_CPE_ID_VENDOR = pcre
|
|
PCRE_INSTALL_STAGING = YES
|
|
PCRE_CONFIG_SCRIPTS = pcre-config
|
|
|
|
# They're required for host-libglib2
|
|
HOST_PCRE_CONF_OPTS = --enable-unicode-properties
|
|
|
|
ifneq ($(BR2_INSTALL_LIBSTDCPP),y)
|
|
# pcre will use the host g++ if a cross version isn't available
|
|
PCRE_CONF_OPTS += --disable-cpp
|
|
endif
|
|
|
|
PCRE_CONF_OPTS += --enable-pcre8
|
|
PCRE_CONF_OPTS += $(if $(BR2_PACKAGE_PCRE_16),--enable-pcre16,--disable-pcre16)
|
|
PCRE_CONF_OPTS += $(if $(BR2_PACKAGE_PCRE_32),--enable-pcre32,--disable-pcre32)
|
|
PCRE_CONF_OPTS += $(if $(BR2_PACKAGE_PCRE_UTF),--enable-utf,--disable-utf)
|
|
PCRE_CONF_OPTS += $(if $(BR2_PACKAGE_PCRE_UCP),--enable-unicode-properties,--disable-unicode-properties)
|
|
|
|
$(eval $(autotools-package))
|
|
$(eval $(host-autotools-package))
|