config BR2_PACKAGE_LIBCPPRESTSDK
bool "libcpprestsdk"
+ depends on BR2_ENABLE_LOCALE
depends on BR2_INSTALL_LIBSTDCPP
depends on BR2_USE_WCHAR # boost
depends on !BR2_TOOLCHAIN_HAS_GCC_BUG_64735 # exception_ptr
https://github.com/Microsoft/cpprestsdk
-comment "libcpprestsdk needs a toolchain w/ NPTL, C++, wchar"
+comment "libcpprestsdk needs a toolchain w/ NPTL, C++, wchar, locale"
depends on !BR2_TOOLCHAIN_HAS_THREADS_NPTL || \
!BR2_INSTALL_LIBSTDCPP || \
- !BR2_USE_WCHAR
+ !BR2_USE_WCHAR || !BR2_ENABLE_LOCALE
comment "libcpprestsdk needs exception_ptr"
depends on BR2_TOOLCHAIN_HAS_GCC_BUG_64735
LIBCPPRESTSDK_LICENSE_FILES = license.txt
LIBCPPRESTSDK_SUBDIR = Release
LIBCPPRESTSDK_INSTALL_STAGING = YES
-LIBCPPRESTSDK_DEPENDENCIES += host-pkgconf boost openssl zlib
+LIBCPPRESTSDK_DEPENDENCIES += host-pkgconf boost openssl
LIBCPPRESTSDK_CONF_OPTS = -DWERROR=OFF -DBUILD_SAMPLES=OFF
ifeq ($(BR2_STATIC_LIBS),y)