From 124d333462597895be0ed251c6040636d10b7d5d Mon Sep 17 00:00:00 2001 From: Roy Kollen Svendsen Date: Sat, 28 Sep 2024 08:42:15 +0200 Subject: [PATCH] package/dlib: add missing dependency on wchar Since the package was introduced in Buildroot commit 3cb185d3df237341382b03c8e6f6c5358063c721, it has been failing to build on !wchar configurations. Let's add the missing dependency on wchar support. Fixes: https://autobuild.buildroot.org/results/f5c543bcf57181373680d0c16a1814d21b000bcf Signed-off-by: Roy Kollen Svendsen Signed-off-by: Thomas Petazzoni --- package/dlib/Config.in | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/package/dlib/Config.in b/package/dlib/Config.in index 2419af967b..7862f8d074 100644 --- a/package/dlib/Config.in +++ b/package/dlib/Config.in @@ -2,6 +2,7 @@ config BR2_PACKAGE_DLIB bool "dlib" depends on BR2_INSTALL_LIBSTDCPP depends on BR2_TOOLCHAIN_HAS_THREADS + depends on BR2_USE_WCHAR help Dlib is a modern C++ toolkit containing machine learning algorithms and tools for creating complex software in C++ to @@ -9,6 +10,7 @@ config BR2_PACKAGE_DLIB http://dlib.net -comment "dlib needs a toolchain w/ C++, threads" +comment "dlib needs a toolchain w/ C++, threads, wchar" depends on !BR2_INSTALL_LIBSTDCPP || \ - !BR2_TOOLCHAIN_HAS_THREADS + !BR2_TOOLCHAIN_HAS_THREADS || \ + !BR2_USE_WCHAR