packages/libfreeimage: requires wchar
authorBrendan Heading <brendanheading@gmail.com>
Wed, 29 Jul 2015 10:46:26 +0000 (11:46 +0100)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Wed, 29 Jul 2015 11:01:51 +0000 (13:01 +0200)
Fixes http://autobuild.buildroot.net/results/6e9/6e9f2bf02e0a165826e9fab194d6bad7901051a9/

Signed-off-by: Brendan Heading <brendanheading@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/libfreeimage/Config.in

index 04fb278731e91b6ad347f8b8a426762d7e69b8f7..4b462cb633b41cdf8cad3d4b067e76c0158a0ca2 100644 (file)
@@ -2,6 +2,7 @@ config BR2_PACKAGE_LIBFREEIMAGE
        bool "libfreeimage"
        depends on BR2_INSTALL_LIBSTDCPP
        depends on !BR2_STATIC_LIBS
+       depends on BR2_USE_WCHAR
        # compiler issue: "Error: invalid register number `63'"
        depends on !BR2_arc
        # Numerous build issues
@@ -14,7 +15,7 @@ config BR2_PACKAGE_LIBFREEIMAGE
 
          http://freeimage.sourceforge.net
 
-comment "libfreeimage needs a toolchain w/ C++, dynamic library"
+comment "libfreeimage needs a toolchain w/ C++, dynamic library, wchar"
        depends on !BR2_arc
        depends on !BR2_bfin
-       depends on BR2_STATIC_LIBS || !BR2_INSTALL_LIBSTDCPP
+       depends on BR2_STATIC_LIBS || !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR