From 777a252805b0317f0dd3e796d4a2b4429d936f01 Mon Sep 17 00:00:00 2001 From: "Yann E. MORIN" Date: Sat, 21 Feb 2015 23:36:17 +0100 Subject: [PATCH] package/freerdp: conditionally build support for libXrender 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 084b9b8830..e873d3307d 100644 --- a/package/freerdp/freerdp.mk +++ b/package/freerdp/freerdp.mk @@ -70,6 +70,13 @@ else FREERDP_CONF_OPTS += -DWITH_XKBFILE=OFF endif +ifeq ($(BR2_PACKAGE_XLIB_LIBXRENDER),y) +FREERDP_CONF_OPTS += -DWITH_XRENDER=ON +FREERDP_DEPENDENCIES += xlib_libXrender +else +FREERDP_CONF_OPTS += -DWITH_XRENDER=OFF +endif + ifeq ($(BR2_PACKAGE_XLIB_LIBXV),y) FREERDP_CONF_OPTS += -DWITH_XV=ON FREERDP_DEPENDENCIES += xlib_libXv -- 2.30.2