浏览代码

mesa: needs C++ support

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>
Peter Korsgaard 16 年之前
父节点
当前提交
3c1d6d8fc7
共有 2 个文件被更改,包括 4 次插入3 次删除
  1. 3 3
      package/Config.in
  2. 1 0
      package/x11r7/mesa3d/Config.in

+ 3 - 3
package/Config.in

@@ -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
 

+ 1 - 0
package/x11r7/mesa3d/Config.in

@@ -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.