package/libfreeimage: needs C++ support
authorRomain Naour <romain.naour@openwide.fr>
Wed, 15 Apr 2015 20:36:12 +0000 (22:36 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Thu, 16 Apr 2015 05:49:05 +0000 (07:49 +0200)
Fixes:
http://autobuild.buildroot.net/results/f52/f52dd2939984cd7a6926b8ad6d5be13dcf3afae8

Signed-off-by: Romain Naour <romain.naour@openwide.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/libfreeimage/Config.in

index 546593b024bcbc0bc861d1aa72556992f1e4aaa4..914c0af1758f037f5945bd649421d17328b94894 100644 (file)
@@ -1,5 +1,6 @@
 config BR2_PACKAGE_LIBFREEIMAGE
        bool "libfreeimage"
+       depends on BR2_INSTALL_LIBSTDCPP
        depends on !BR2_STATIC_LIBS
        help
          FreeImage is an Open Source library project for developers who
@@ -9,5 +10,5 @@ config BR2_PACKAGE_LIBFREEIMAGE
 
          http://freeimage.sourceforge.net
 
-comment "libfreeimage needs a toolchain w/ dynamic library"
-       depends on BR2_STATIC_LIBS
+comment "libfreeimage needs a toolchain w/ C++, dynamic library"
+       depends on BR2_STATIC_LIBS || !BR2_INSTALL_LIBSTDCPP