aboutsummaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
authorGravatar Fabrice Fontaine <fontaine.fabrice@gmail.com>2019-03-17 16:29:29 +0100
committerGravatar Thomas Petazzoni <thomas.petazzoni@bootlin.com>2019-03-17 16:49:52 +0100
commit65895f36eea0139c3d590cd5982be5504b2de9ce (patch)
tree3f2cf85541513b4755c2aba5372dc6d3e5419cc0 /package
parent8623cc5deb59747c91687ac5a25087ba694b45a0 (diff)
downloadbuildroot-65895f36eea0139c3d590cd5982be5504b2de9ce.tar.gz
buildroot-65895f36eea0139c3d590cd5982be5504b2de9ce.tar.bz2
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>
Diffstat (limited to 'package')
-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))