Ver Fonte

package/libfreeimage: needs C++ support

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>
Romain Naour há 10 anos atrás
pai
commit
db6cda67ac
1 ficheiros alterados com 3 adições e 2 exclusões
  1. 3 2
      package/libfreeimage/Config.in

+ 3 - 2
package/libfreeimage/Config.in

@@ -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