[Buildroot] [PATCH 1/1] package/poppler: use ENABLE_GLIB

Fabrice Fontaine fontaine.fabrice at gmail.com
Fri Jan 8 06:53:41 UTC 2021


Use ENABLE_GLIB which is available since version 0.60 and
https://github.com/freedesktop/poppler/commit/766a32ff59dadd9ae4639d8a79861a17be6aec52

Signed-off-by: Fabrice Fontaine <fontaine.fabrice at gmail.com>
---
 package/poppler/poppler.mk | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/package/poppler/poppler.mk b/package/poppler/poppler.mk
index 41a5e40e68..70dcd4bef4 100644
--- a/package/poppler/poppler.mk
+++ b/package/poppler/poppler.mk
@@ -95,6 +95,9 @@ endif
 
 ifeq ($(BR2_PACKAGE_LIBGLIB2),y)
 POPPLER_DEPENDENCIES += libglib2
+POPPLER_CONF_OPTS += -DENABLE_GLIB=ON
+else
+POPPLER_CONF_OPTS += -DENABLE_GLIB=OFF
 endif
 
 ifeq ($(BR2_PACKAGE_LIBNSS),y)
-- 
2.29.2



More information about the buildroot mailing list