package/proj: needs wchar
authorBernd Kuhls <bernd.kuhls@t-online.de>
Mon, 14 Oct 2019 02:20:42 +0000 (04:20 +0200)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Wed, 16 Oct 2019 20:27:49 +0000 (22:27 +0200)
Propagate dependency also to libgeotiff

Fixes:
http://autobuild.buildroot.net/results/f8e/f8e261dd64346caeff568a23621b3dd15ac3967c/
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/libgeotiff/Config.in
package/proj/Config.in

index 6ac8a51f7ca2f08ef64dbe5fa72eca1cf84fc3c1..7ed296fb25c90f1b52405913d34da533431062df 100644 (file)
@@ -3,6 +3,7 @@ config BR2_PACKAGE_LIBGEOTIFF
        depends on BR2_INSTALL_LIBSTDCPP # proj
        depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_7 # proj
        depends on BR2_TOOLCHAIN_HAS_THREADS # proj
+       depends on BR2_USE_WCHAR # proj
        select BR2_PACKAGE_PROJ
        select BR2_PACKAGE_TIFF
        help
@@ -11,6 +12,7 @@ config BR2_PACKAGE_LIBGEOTIFF
 
          https://github.com/OSGeo/libgeotiff
 
-comment "libgeotiff needs a toolchain w/ C++, gcc >= 4.7, threads"
+comment "libgeotiff needs a toolchain w/ C++, gcc >= 4.7, threads, wchar"
        depends on !BR2_INSTALL_LIBSTDCPP || \
-               !BR2_TOOLCHAIN_GCC_AT_LEAST_4_7 || !BR2_TOOLCHAIN_HAS_THREADS
+               !BR2_TOOLCHAIN_GCC_AT_LEAST_4_7 || \
+               !BR2_TOOLCHAIN_HAS_THREADS || !BR2_USE_WCHAR
index ced386f465a8f6aa5dcd86974f150acb5b5f9fd7..1952fc7d9a5ca5e08bdbddf7ed2fc5ebd2f9346d 100644 (file)
@@ -3,6 +3,7 @@ config BR2_PACKAGE_PROJ
        depends on BR2_INSTALL_LIBSTDCPP
        depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_7 # C++11
        depends on BR2_TOOLCHAIN_HAS_THREADS
+       depends on BR2_USE_WCHAR
        select BR2_PACKAGE_SQLITE
        help
          proj.4 is a standard UNIX filter function which converts
@@ -13,6 +14,7 @@ config BR2_PACKAGE_PROJ
 
          http://proj4.org/
 
-comment "proj needs a toolchain w/ C++, gcc >= 4.7, threads"
+comment "proj needs a toolchain w/ C++, gcc >= 4.7, threads, wchar"
        depends on !BR2_INSTALL_LIBSTDCPP || \
-               !BR2_TOOLCHAIN_GCC_AT_LEAST_4_7 || !BR2_TOOLCHAIN_HAS_THREADS
+               !BR2_TOOLCHAIN_GCC_AT_LEAST_4_7 || \
+               !BR2_TOOLCHAIN_HAS_THREADS || !BR2_USE_WCHAR