package/libpsl: needs wchar
authorFabrice Fontaine <fontaine.fabrice@gmail.com>
Wed, 9 Jun 2021 21:41:30 +0000 (23:41 +0200)
committerArnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Sun, 20 Jun 2021 13:53:54 +0000 (15:53 +0200)
Add a dependency on wchar as both icu and libunistring needs wchar

Fixes:
 - http://autobuild.buildroot.org/results/704d8e6f8b78015180e5b12c132495425637430a

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Reviewed-by: Adrian Perez de Castro <aperez@igalia.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
package/libpsl/Config.in
package/libsoup/Config.in

index dd484799e7bbb7d9d330ddc0df2082eb9486e8a6..a4cbce6b4363bf4d5d1b013b999e59f5eca0b057 100644 (file)
@@ -1,8 +1,12 @@
 config BR2_PACKAGE_LIBPSL
        bool "libpsl"
+       depends on BR2_USE_WCHAR # libunistring, icu
        select BR2_PACKAGE_LIBIDN2 if !BR2_PACKAGE_ICU && !BR2_PACKAGE_LIBIDN
        select BR2_PACKAGE_LIBUNISTRING if !BR2_PACKAGE_ICU
        help
          C library to handle the Public Suffix List of TLDs.
 
          https://github.com/rockdaboot/libpsl
+
+comment "libpsl needs a toolchain w/ wchar"
+       depends on !BR2_USE_WCHAR
index 47adfb33f2bce1378f1bbd70e051aeacb8194623..0c0454c7c2b056cd405836cc0e1ac5501db548f9 100644 (file)
@@ -1,6 +1,6 @@
 config BR2_PACKAGE_LIBSOUP
        bool "libsoup"
-       depends on BR2_USE_WCHAR # glib2 and gnutls
+       depends on BR2_USE_WCHAR # glib2, gnutls and libpsl
        depends on BR2_TOOLCHAIN_HAS_THREADS # glib2
        depends on BR2_USE_MMU # glib2
        select BR2_PACKAGE_LIBXML2