mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-28 05:36:32 +00:00
libxml2: fixup configure options
Some configure options changed so adjust. Forcibly disabling threads isn't good and also it's detected by configure when there are no threads. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
This commit is contained in:
parent
48a00cc2ce
commit
874b6e4e87
@ -12,10 +12,7 @@ ifneq ($(BR2_LARGEFILE),y)
|
|||||||
LIBXML2_CONF_ENV = CC="$(TARGET_CC) $(TARGET_CFLAGS) -DNO_LARGEFILE_SOURCE"
|
LIBXML2_CONF_ENV = CC="$(TARGET_CC) $(TARGET_CFLAGS) -DNO_LARGEFILE_SOURCE"
|
||||||
endif
|
endif
|
||||||
|
|
||||||
LIBXML2_CONF_OPT = --with-gnu-ld --enable-shared \
|
LIBXML2_CONF_OPT = --with-gnu-ld --without-python --without-debug
|
||||||
--enable-static \
|
|
||||||
--without-debugging --without-python \
|
|
||||||
--without-threads
|
|
||||||
|
|
||||||
define LIBXML2_STAGING_LIBXML2_CONFIG_FIXUP
|
define LIBXML2_STAGING_LIBXML2_CONFIG_FIXUP
|
||||||
$(SED) "s,^prefix=.*,prefix=\'$(STAGING_DIR)/usr\',g" $(STAGING_DIR)/usr/bin/xml2-config
|
$(SED) "s,^prefix=.*,prefix=\'$(STAGING_DIR)/usr\',g" $(STAGING_DIR)/usr/bin/xml2-config
|
||||||
@ -26,9 +23,7 @@ LIBXML2_POST_INSTALL_STAGING_HOOKS += LIBXML2_STAGING_LIBXML2_CONFIG_FIXUP
|
|||||||
|
|
||||||
HOST_LIBXML2_DEPENDENCIES = host-pkg-config
|
HOST_LIBXML2_DEPENDENCIES = host-pkg-config
|
||||||
|
|
||||||
HOST_LIBXML2_CONF_OPT = \
|
HOST_LIBXML2_CONF_OPT = --without-debug --without-python
|
||||||
--enable-shared --without-debugging --without-python \
|
|
||||||
--without-threads
|
|
||||||
|
|
||||||
define LIBXML2_REMOVE_CONFIG_SCRIPTS
|
define LIBXML2_REMOVE_CONFIG_SCRIPTS
|
||||||
$(RM) -f $(TARGET_DIR)/usr/bin/xml2-config
|
$(RM) -f $(TARGET_DIR)/usr/bin/xml2-config
|
||||||
|
Loading…
x
Reference in New Issue
Block a user