summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFabrice Fontaine <fontaine.fabrice@gmail.com>2019-03-17 16:29:29 +0100
committerPeter Korsgaard <peter@korsgaard.com>2019-03-27 15:29:01 +0100
commitd56572e447fb84730cad43dd50684b6f85a2bd72 (patch)
tree149cd457db58ac3eaf4e48e9e30f7d0733ccab5a
parentf5a48dfe271260f78d9673f8038df1257a9111f1 (diff)
downloadbuildroot-d56572e447fb84730cad43dd50684b6f85a2bd72.tar.gz
buildroot-d56572e447fb84730cad43dd50684b6f85a2bd72.zip
package/fltk: add optional xlib_libXrender dependency
xlib_libXrender is enabled by default and has been added since version 1.3.4-1 and https://github.com/fltk/fltk/commit/a6c4b29a184ce7708819f4706877eedcd99a30f5 Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com> (cherry picked from commit 65895f36eea0139c3d590cd5982be5504b2de9ce) Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
-rw-r--r--package/fltk/fltk.mk7
1 files changed, 7 insertions, 0 deletions
diff --git a/package/fltk/fltk.mk b/package/fltk/fltk.mk
index 611d79da50..c37a13176c 100644
--- a/package/fltk/fltk.mk
+++ b/package/fltk/fltk.mk
@@ -54,4 +54,11 @@ else
FLTK_CONF_OPTS += --disable-xinerama
endif
+ifeq ($(BR2_PACKAGE_XLIB_LIBXRENDER),y)
+FLTK_DEPENDENCIES += xlib_libXrender
+FLTK_CONF_OPTS += --enable-xrender
+else
+FLTK_CONF_OPTS += --disable-xrender
+endif
+
$(eval $(autotools-package))
OpenPOWER on IntegriCloud