瀏覽代碼

libcgicc: depend on toolchain config, don't use select

select should only be used for package (library) dependencies.
Peter Korsgaard 16 年之前
父節點
當前提交
e496ff2141
共有 1 個文件被更改,包括 4 次插入1 次删除
  1. 4 1
      package/libcgicc/Config.in

+ 4 - 1
package/libcgicc/Config.in

@@ -1,8 +1,11 @@
 config BR2_PACKAGE_LIBCGICC
 	bool "libcgicc"
-	select BR2_INSTALL_LIBSTDCPP
+	depends on BR2_INSTALL_LIBSTDCPP
 	help
 	  GNU cgicc is a C++ class library that greatly simplifies
 	  the creation of CGI applications for the World Wide Web.
 
 	  http://www.cgicc.com
+
+comment "libcgicc requires a toolchain with C++ support enabled"
+	depends on !BR2_INSTALL_LIBSTDCPP