mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-25 20:26:34 +00:00
libxml2: depend on zlib and libiconv if appropriate
Signed-off-by: Simon Dawson <spdawson@gmail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
This commit is contained in:
parent
0156825d11
commit
e5b1da1846
@ -34,6 +34,21 @@ else
|
|||||||
HOST_LIBXML2_CONF_OPT += --without-python
|
HOST_LIBXML2_CONF_OPT += --without-python
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
ifeq ($(BR2_PACKAGE_ZLIB),y)
|
||||||
|
LIBXML2_DEPENDENCIES += zlib
|
||||||
|
LIBXML2_CONF_OPT += --with-zlib
|
||||||
|
else
|
||||||
|
LIBXML2_CONF_OPT += --without-zlib
|
||||||
|
endif
|
||||||
|
|
||||||
|
LIBXML2_DEPENDENCIES += $(if $(BR2_PACKAGE_LIBICONV),libiconv)
|
||||||
|
|
||||||
|
ifeq ($(BR2_ENABLE_LOCALE)$(BR2_PACKAGE_LIBICONV),y)
|
||||||
|
LIBXML2_CONF_OPT += --with-iconv
|
||||||
|
else
|
||||||
|
LIBXML2_CONF_OPT += --without-iconv
|
||||||
|
endif
|
||||||
|
|
||||||
$(eval $(autotools-package))
|
$(eval $(autotools-package))
|
||||||
$(eval $(host-autotools-package))
|
$(eval $(host-autotools-package))
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user