libgail: add missing indirect dependency on C++ and atomics
authorArnout Vandecappelle <arnout@mind.be>
Wed, 4 Feb 2015 00:34:06 +0000 (01:34 +0100)
committerPeter Korsgaard <peter@korsgaard.com>
Sat, 7 Feb 2015 20:06:46 +0000 (21:06 +0100)
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/libgail/Config.in

index 512f228cf0643b3b5cf80993ab588af2756cbd80..3967083da21ddc69a46f4c4f4e2bfe609a169341 100644 (file)
@@ -3,6 +3,8 @@ config BR2_PACKAGE_LIBGAIL
        depends on BR2_USE_WCHAR # pango -> libglib2
        depends on BR2_TOOLCHAIN_HAS_THREADS # pango -> libglib2
        depends on BR2_USE_MMU # pango -> libglib2
+       depends on BR2_INSTALL_LIBSTDCPP # pango -> freetype
+       depends on BR2_ARCH_HAS_ATOMICS # pango -> cairo
        depends on BR2_PACKAGE_LIBGTK2
        select BR2_PACKAGE_PANGO
        help
@@ -20,7 +22,8 @@ config BR2_PACKAGE_LIBGAIL
 
          http://developer.gnome.org/projects/gap
 
-comment "libgail needs a toolchain w/ wchar, threads"
+comment "libgail needs a toolchain w/ C++, wchar, threads"
        depends on BR2_PACKAGE_LIBGTK2
-       depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS
+       depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS
        depends on BR2_USE_MMU
+       depends on BR2_ARCH_HAS_ATOMICS