[Buildroot] Introduce "depends on" in packages requiring working C++ compiler
ulf at atmel.com
Wed Aug 1 19:40:50 UTC 2007
I had set the BR2_GCC_CROSS_CXX in .config for AVR32.
BR2_INSTALL_LIBSTDCPP was not set.
I did not get a C++ compiler and the "avahi" build crashed
due to this.
I then set BR2_INSTALL_LIBSTDCPP and retried make,
but no C++ compiler was made, so the dependencies
are not working OK.
I think that packages like "avahi", requiring a C++
compiler should have that in their dependencies.
I am not sure about the difference between
BR2_GCC_CROSS_CXX and BR2_INSTALL_LIBSTDCPP.
Anyone care to elaborate?
Would the following dependency work for packages like "avahi"?
--- package/avahi/Config.in (revision 19391)
+++ package/avahi/Config.in (arbetskopia)
@@ -1,6 +1,7 @@
+ depends on (BR2_GCC_CROSS_CXX && BR2_INSTALL_LIBSTDCPP) ||
Avahi is a system which facilitates service
More information about the buildroot