mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-28 13:46:32 +00:00
package/wget: add optional dependency on pcre/pcre2
Default to pcre2 to mimic upstream configure.ac. Signed-off-by: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
parent
5201daf40f
commit
8fe075d9d9
@ -39,4 +39,14 @@ else
|
|||||||
WGET_CONF_OPTS += --without-zlib
|
WGET_CONF_OPTS += --without-zlib
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
ifeq ($(BR2_PACKAGE_PCRE2),y)
|
||||||
|
WGET_CONF_OPTS += --disable-pcre --enable-pcre2
|
||||||
|
WGET_DEPENDENCIES += pcre2
|
||||||
|
else ifeq ($(BR2_PACKAGE_PCRE),y)
|
||||||
|
WGET_CONF_OPTS += --enable-pcre --disable-pcre2
|
||||||
|
WGET_DEPENDENCIES += pcre
|
||||||
|
else
|
||||||
|
WGET_CONF_OPTS += --disable-pcre --disable-pcre2
|
||||||
|
endif
|
||||||
|
|
||||||
$(eval $(autotools-package))
|
$(eval $(autotools-package))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user