package/freerdp: needs wchar
authorFabio Porcedda <fabio.porcedda@gmail.com>
Mon, 23 Feb 2015 06:17:52 +0000 (07:17 +0100)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Mon, 23 Feb 2015 11:26:11 +0000 (12:26 +0100)
Also add reverse dependency for Weston.

Fix build error:
make[3]: Entering directory '/home/tetsuya/buildroot/br/output/build/freerdp-b21ff842ef3de5837513042dc30488b12bd9cf9d'
In file included from /home/tetsuya/buildroot/br/output/build/freerdp-b21ff842ef3de5837513042dc30488b12bd9cf9d/winpr/include/winpr/winsock.h:24:0,
                 from /home/tetsuya/buildroot/br/output/build/freerdp-b21ff842ef3de5837513042dc30488b12bd9cf9d/winpr/libwinpr/winsock/winsock.c:24:
/home/tetsuya/buildroot/br/output/build/freerdp-b21ff842ef3de5837513042dc30488b12bd9cf9d/winpr/include/winpr/wtypes.h:132:1: error: unknown type name ‘wchar_t’
 typedef wchar_t UNICODE;

Signed-off-by: Fabio Porcedda <fabio.porcedda@gmail.com>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/freerdp/Config.in
package/weston/Config.in

index 1c203c7a4bbd56a38e15d7e964ad0dabf68046cd..ea36e0e4ab8ad72cf84fa4539f153419c68e20f4 100644 (file)
@@ -1,5 +1,6 @@
 config BR2_PACKAGE_FREERDP
        bool "freerdp"
+       depends on BR2_USE_WCHAR
        select BR2_PACKAGE_OPENSSL
        select BR2_PACKAGE_ZLIB
        help
@@ -37,3 +38,6 @@ comment "freerdp server and client need X.Org"
        depends on !BR2_PACKAGE_XORG7
 
 endif
+
+comment "freerdp needs a toolchain w/ wchar"
+       depends on !BR2_USE_WCHAR
index 8983460e360bf1099c9928fd80bca96b11be174f..dec35839c6a49cf69ccdf8f9598e7355ae9791c9 100644 (file)
@@ -41,6 +41,7 @@ config BR2_PACKAGE_WESTON_FBDEV
 
 config BR2_PACKAGE_WESTON_RDP
        bool "RDP compositor"
+       depends on BR2_USE_WCHAR # freerdp
        select BR2_PACKAGE_FREERDP
        select BR2_PACKAGE_WESTON_HAS_COMPOSITOR
        help
@@ -56,6 +57,9 @@ config BR2_PACKAGE_WESTON_RDP
          so you may want to change them in a post-build script or a rootfs
          overlay.
 
+comment "RDP compositor needs a toolchain w/ wchar"
+       depends on !BR2_USE_WCHAR
+
 # rpi-userland is an EGL/GLES provider, so we can't select it
 config BR2_PACKAGE_WESTON_RPI
        bool "RPi compositor"