mesa: needs C++ support
authorPeter Korsgaard <jacmet@sunsite.dk>
Tue, 19 May 2009 15:32:45 +0000 (17:32 +0200)
committerPeter Korsgaard <jacmet@sunsite.dk>
Tue, 19 May 2009 15:34:49 +0000 (17:34 +0200)
mesa (and in turn xorg) needs C++ support.
Based on patch by Steffen Schulz <pepe_ml@gmx.net>

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
package/Config.in
package/x11r7/mesa3d/Config.in

index 251888bd5d95ee48c09fb6d305e423f9faf5c1a9..08b16edce09a9dc2579aad0710d3b7c2d7cff149 100644 (file)
@@ -328,15 +328,15 @@ config BR2_PACKAGE_XSERVER_none
        bool "none"
 config BR2_PACKAGE_XSERVER_xorg
        bool "modular xorg"
-       depends on BR2_USE_WCHAR && BR2_LARGEFILE # && BR2_ENABLE_LOCALE
+       depends on BR2_USE_WCHAR && BR2_LARGEFILE && BR2_INSTALL_LIBSTDCPP # && BR2_ENABLE_LOCALE
 # depending on BR2_ENABLE_LOCALE gives a recursion error with dbus
 config BR2_PACKAGE_XSERVER_tinyx
        bool "tinyx"
        depends on BR2_USE_WCHAR
 endchoice
 
-comment "xorg requires a toolchain with LOCALE, LARGEFILE and WCHAR support"
-       depends on !(BR2_USE_WCHAR && BR2_LARGEFILE && BR2_ENABLE_LOCALE)
+comment "xorg requires a toolchain with C++, LOCALE, LARGEFILE and WCHAR support"
+       depends on !(BR2_USE_WCHAR && BR2_LARGEFILE && BR2_INSTALL_LIBSTDCPP && BR2_ENABLE_LOCALE)
 comment "tinyx requires a toolchain with WCHAR support"
        depends on !BR2_USE_WCHAR
 
index 19726cd642b6f11840e4416cd2b7f3b22253bd67..a87509891af7a08f2b19159b10bcbe96d6de0e1d 100644 (file)
@@ -8,6 +8,7 @@ config BR2_PACKAGE_MESA3D
        select BR2_PACKAGE_XLIB_LIBXDAMAGE
        select BR2_PACKAGE_LIBDRM
        depends on BR2_PACKAGE_XSERVER_XORG_SERVER
+       depends on BR2_INSTALL_LIBSTDCPP
        help
          Mesa 3D, an open-source implementation of the OpenGL specification.