libcgicc: depend on toolchain config, don't use select
authorPeter Korsgaard <jacmet@sunsite.dk>
Mon, 26 Jan 2009 19:14:18 +0000 (19:14 -0000)
committerPeter Korsgaard <jacmet@sunsite.dk>
Mon, 26 Jan 2009 19:14:18 +0000 (19:14 -0000)
select should only be used for package (library) dependencies.

package/libcgicc/Config.in

index 49b69be00072dd967c68223fdc2780712a9fefb1..098f9a631fef8005da84c7befa6383b1f0653d71 100644 (file)
@@ -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