浏览代码

package/freerdp: needs C++

FreeRDP does not have a single C++ source file, however it insists on
having a C++ compiler. Removing that requirement is a bit too much
involving, so we just depend on it...

Fixes:
    http://autobuild.buildroot.org/results/e5b/e5bee760d52e5ee433dcb6c8a7296f99312cfcf4/

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Yann E. MORIN 9 年之前
父节点
当前提交
0611258aea
共有 1 个文件被更改,包括 6 次插入2 次删除
  1. 6 2
      package/freerdp/Config.in

+ 6 - 2
package/freerdp/Config.in

@@ -1,5 +1,9 @@
 config BR2_PACKAGE_FREERDP
 	bool "freerdp"
+	# FreeRDP does not have a single C++ source file, however it
+	# insists on having a C++ compiler. Removing that requirement
+	# is a bit too much involving, so we just depend on it...
+	depends on BR2_INSTALL_LIBSTDCPP
 	depends on BR2_USE_WCHAR
 	depends on !BR2_STATIC_LIBS # uses dlfcn.h
 	depends on BR2_TOOLCHAIN_HAS_THREADS
@@ -79,6 +83,6 @@ config BR2_PACKAGE_FREERDP_CLIENT_WL
 
 endif
 
-comment "freerdp needs a toolchain w/ wchar, dynamic library, threads"
+comment "freerdp needs a toolchain w/ wchar, dynamic library, threads, C++"
 	depends on !BR2_USE_WCHAR || BR2_STATIC_LIBS \
-		|| !BR2_TOOLCHAIN_HAS_THREADS
+		|| !BR2_TOOLCHAIN_HAS_THREADS || !BR2_INSTALL_LIBSTDCPP