package/freerdp: fix build of wayland client
authorYann E. MORIN <yann.morin.1998@free.fr>
Sun, 12 Nov 2017 08:13:26 +0000 (09:13 +0100)
committerPeter Korsgaard <peter@korsgaard.com>
Mon, 13 Nov 2017 20:26:16 +0000 (21:26 +0100)
commitc2824fba2f2f4df6c1e0273fa546a203d1e6d5ac
treeb0c85499ce384693ef8991332421b00af4d986ac
parent45f0c11aaab8eff3c8c041936b64931f66fc8a8d
package/freerdp: fix build of wayland client

Currently, FreeRDP uses pkg-config to find whether wayland is available.
When it is, it gets the CFLAGS and LDFLAGS and so on from pkg-config,
which is OK.

But I also gets the path to the wayland scanner from pkg-config. And
this points to the target one, when we really need the host one.

So we force-feed the correct path as a configure option.

Furthermore, wayland support needs libxkbcommon, so add this missing
dependency as well.

Fixes:
    http://autobuild.buildroot.org/results/bdfe233ade36a56d0f65ef3c3d1698fca548beed/

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Reviewed-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Reviewed-by: Samuel Martin <s.martin49@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/freerdp/Config.in
package/freerdp/freerdp.mk