mirror of
https://github.com/MiyooCFW/buildroot.git
synced 2025-09-27 22:24:19 +03:00
Merge from bittboy/buildroot@26c91a9
This commit is contained in:
@@ -1,10 +1,21 @@
|
||||
config BR2_PACKAGE_XERCES
|
||||
bool "xerces-c++"
|
||||
depends on BR2_INSTALL_LIBSTDCPP && BR2_USE_WCHAR
|
||||
depends on BR2_INSTALL_LIBSTDCPP
|
||||
depends on BR2_USE_WCHAR
|
||||
help
|
||||
Xerces-C++ is a validating XML parser written in portable C++.
|
||||
|
||||
http://xerces.apache.org/xerces-c/
|
||||
|
||||
if BR2_PACKAGE_XERCES
|
||||
|
||||
config BR2_PACKAGE_XERCES_ENABLE_NETWORK
|
||||
bool "Enable network support"
|
||||
default y
|
||||
help
|
||||
Enable network support in xerces
|
||||
|
||||
endif
|
||||
|
||||
comment "xerces-c++ needs a toolchain w/ C++, wchar"
|
||||
depends on !(BR2_INSTALL_LIBSTDCPP && BR2_USE_WCHAR)
|
||||
|
||||
@@ -31,12 +31,16 @@ XERCES_CONF_ENV += LIBS=-liconv
|
||||
XERCES_DEPENDENCIES += libiconv
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_XERCES_ENABLE_NETWORK),y)
|
||||
ifeq ($(BR2_PACKAGE_LIBCURL),y)
|
||||
XERCES_CONF_OPTS += -Dnetwork-accessor=curl
|
||||
XERCES_DEPENDENCIES += libcurl
|
||||
else
|
||||
XERCES_CONF_OPTS += -Dnetwork-accessor=socket
|
||||
endif
|
||||
else
|
||||
XERCES_CONF_OPTS += -Dnetwork=OFF
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_TOOLCHAIN_HAS_THREADS),y)
|
||||
XERCES_CONF_OPTS += -Dthreads=ON
|
||||
|
||||
Reference in New Issue
Block a user