From 48bf1a45f5fd28aac0d92852270a2c913d41b28c Mon Sep 17 00:00:00 2001 From: "Yann E. MORIN" Date: Sat, 21 Feb 2015 23:36:16 +0100 Subject: [PATCH] package/freerdp: conditionally build support for libXi Signed-off-by: "Yann E. MORIN" Signed-off-by: Thomas Petazzoni --- package/freerdp/freerdp.mk | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/package/freerdp/freerdp.mk b/package/freerdp/freerdp.mk index 32b4714090..084b9b8830 100644 --- a/package/freerdp/freerdp.mk +++ b/package/freerdp/freerdp.mk @@ -49,6 +49,13 @@ else FREERDP_CONF_OPTS += -DWITH_PULSEAUDIO=OFF endif +ifeq ($(BR2_PACKAGE_XLIB_LIBXI),y) +FREERDP_CONF_OPTS += -DWITH_XI=ON +FREERDP_DEPENDENCIES += xlib_libXi +else +FREERDP_CONF_OPTS += -DWITH_XI=OFF +endif + ifeq ($(BR2_PACKAGE_XLIB_LIBXINERAMA),y) FREERDP_CONF_OPTS += -DWITH_XINERAMA=ON FREERDP_DEPENDENCIES += xlib_libXinerama